From 335152f0d4a3bb05099ed3f48fee24b6ccd85939 Mon Sep 17 00:00:00 2001 From: Gajus Kuizinas Date: Tue, 1 Nov 2016 15:27:12 +0000 Subject: [PATCH] chore: replace pragmatist with Mocha, ESLint, Babel --- .babelrc | 5 +++++ package.json | 13 ++++++++----- 2 files changed, 13 insertions(+), 5 deletions(-) create mode 100644 .babelrc diff --git a/.babelrc b/.babelrc new file mode 100644 index 0000000..f7a8b05 --- /dev/null +++ b/.babelrc @@ -0,0 +1,5 @@ +{ + "plugins": [ + "transform-es2015-modules-commonjs" + ] +} diff --git a/package.json b/package.json index 7536381..be40a59 100644 --- a/package.json +++ b/package.json @@ -23,16 +23,19 @@ }, "license": "BSD-3-Clause", "scripts": { - "lint": "pragmatist lint", - "test": "pragmatist test --type-assertions", - "build": "pragmatist build --es5", + "lint": "eslint ./src ./tests", + "test": "mocha --compilers js:babel-register ./tests", + "build": "babel build --es5", "create-index": "node ./dist/bin/create-index ./src/utilities" }, "devDependencies": { + "babel-cli": "^6.18.0", + "babel-plugin-transform-es2015-modules-commonjs": "^6.18.0", + "babel-register": "^6.18.0", "chai": "^3.5.0", - "pragmatist": "^3.0.21" "eslint": "^3.9.1", - "eslint-config-canonical": "^4.0.0" + "eslint-config-canonical": "^4.0.0", + "mocha": "^3.1.2" }, "dependencies": { "glob": "^7.0.3",