clean/update package.json file

This commit is contained in:
Camel Aissani 2017-06-23 12:34:29 +02:00
parent d7cfd6d9f3
commit 75b130ef91
3 changed files with 8 additions and 13 deletions

View File

@ -1,4 +1,3 @@
{ {
"presets": ["es2015"], "presets": ["es2015"]
"plugins": ["add-module-exports"]
} }

File diff suppressed because one or more lines are too long

View File

@ -6,11 +6,11 @@
"jsnext:main": "lib/frontexpress.js", "jsnext:main": "lib/frontexpress.js",
"scripts": { "scripts": {
"lint": "eslint .", "lint": "eslint .",
"only-test": "mocha --compilers js:babel-core/register", "test-only": "mocha --compilers js:babel-core/register",
"test": "npm run lint && babel-node node_modules/.bin/babel-istanbul cover node_modules/.bin/_mocha", "test": "npm run lint && babel-node node_modules/.bin/babel-istanbul cover node_modules/.bin/_mocha",
"gzipsize": "babel-node gzipsize.js", "gzipsize": "babel-node gzipsize.js",
"frontpackage": "rollup -c rollup.config.dev.js && rollup -c rollup.config.prod.js && npm run gzipsize", "frontpackage": "rollup -c rollup.config.dev.js && rollup -c rollup.config.prod.js && npm run gzipsize",
"prepublish": "rimraf dist && babel lib -d dist" "prepublish": "rimraf dist && babel lib -d dist && npm run frontpackage"
}, },
"author": "Camel Aissani <camel.aissani@gmail.com> (https://nuageprive.fr)", "author": "Camel Aissani <camel.aissani@gmail.com> (https://nuageprive.fr)",
"license": "MIT", "license": "MIT",
@ -34,23 +34,19 @@
"babel-core": "^6.21.0", "babel-core": "^6.21.0",
"babel-eslint": "^7.1.1", "babel-eslint": "^7.1.1",
"babel-istanbul": "^0.12.1", "babel-istanbul": "^0.12.1",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-preset-babili": "0.0.9",
"babel-preset-es2015": "^6.18.0", "babel-preset-es2015": "^6.18.0",
"babel-preset-es2015-rollup": "^3.0.0", "babel-preset-es2015-rollup": "^3.0.0",
"babel-register": "^6.18.0", "babel-register": "^6.18.0",
"bytesize": "^0.2.0", "bytesize": "^0.2.0",
"chai": "^3.5.0", "chai": "^4.*",
"eslint": "^3.12.2", "eslint": "^3.*",
"eslint-loader": "^1.6.1",
"expose-loader": "^0.7.1",
"istanbul": "^0.4.5", "istanbul": "^0.4.5",
"mocha": "^3.2.0", "mocha": "^3.2.0",
"rimraf": "^2.5.4", "rimraf": "^2.5.4",
"rollup": "^0.38.3", "rollup": "^0.*",
"rollup-plugin-babel": "^2.7.1", "rollup-plugin-babel": "^2.7.1",
"rollup-plugin-uglify-es": "0.0.1", "rollup-plugin-uglify-es": "0.0.1",
"sinon": "^1.17.6" "sinon": "^1.*"
}, },
"files": [ "files": [
"dist/", "dist/",