aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2017-09-28 22:10:53 +0300
committerValentin Popov <info@valentineus.link>2017-09-28 22:10:53 +0300
commitb75c1114c3bb412937aaef9afe8a2fb9da0c14f3 (patch)
treed864742a9345c6a0b63a140813706dbd4b08dde1 /package.json
parentba42758715c8f93a5ce50a9201659979d43897fe (diff)
downloadiii-client-b75c1114c3bb412937aaef9afe8a2fb9da0c14f3.tar.xz
iii-client-b75c1114c3bb412937aaef9afe8a2fb9da0c14f3.zip
Simple tests have been added
Diffstat (limited to 'package.json')
-rw-r--r--package.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/package.json b/package.json
index 2008b9f..3f03670 100644
--- a/package.json
+++ b/package.json
@@ -28,7 +28,9 @@
"babel-core": "^6.24.1",
"babel-preset-es2015": "^6.24.1",
"babel-preset-es2015-rollup": "^3.0.0",
+ "chai": "^4.1.2",
"eslint": "^3.19.0",
+ "mocha": "^3.5.3",
"rollup": "^0.50.0",
"rollup-plugin-babel": "^3.0.2",
"rollup-plugin-node-builtins": "^2.1.2",
@@ -38,6 +40,7 @@
"build-standalone": "babel src/index.js --out-file dist/standalone.js",
"build-browser": "rollup --config rollup.config.js",
"build": "npm run build-browser && npm run build-standalone",
- "check": "eslint ./src/*"
+ "test": "mocha src/test.js --compilers js:babel-core/register",
+ "check": "eslint ./src/index.js"
}
}