From b75c1114c3bb412937aaef9afe8a2fb9da0c14f3 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 28 Sep 2017 23:10:53 +0400 Subject: Simple tests have been added --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'package.json') 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" } } -- cgit v1.2.3