Browse Source

Implement test cmd in package json

Lucas de Souza 5 years ago
parent
commit
2babf76f19
4 changed files with 3 additions and 3 deletions
  1. 1 1
      .gitignore
  2. 0 1
      .ima_version.json
  3. BIN
      ivprog.tar.gz
  4. 2 1
      package.json

+ 1 - 1
.gitignore

@@ -1,6 +1,6 @@
 #compiled files
 /build
-
+.ima_version.json
 # dependencies
 /node_modules
 

+ 0 - 1
.ima_version.json

@@ -1 +0,0 @@
-{ "version":"2019_03_15 17_18" }

BIN
ivprog.tar.gz


+ 2 - 1
package.json

@@ -7,7 +7,8 @@
     "start": "http-server ./build",
     "build": "webpack --mode=development",
     "watch": "webpack --watch --mode=development",
-    "compile": "webpack --mode=production && tar -zcvf ivprog.tar.gz build/"
+    "compile": "webpack --mode=production && tar -zcvf ivprog.tar.gz build/",
+    "test": "./node_modules/karma/bin/karma start"
   },
   "repository": {
     "type": "git",