Commit 8a942910 authored by Élodie Thiéblin's avatar Élodie Thiéblin
Browse files

[Package] Reorganize scripts

parent d82493367884
......@@ -36,12 +36,13 @@
},
"scripts": {
"clean": "rm -rf build",
"format": "tsfmt -r",
"build": "tsfmt --verify && tslint -p . -c tslint.json 'src/**/*.ts*' && webpack",
"format:write": "tsfmt -r",
"format": "tsfmt --verify",
"linter": "tslint -p . -c tslint.json 'src/**/*.ts*'",
"build": "webpack",
"build:production": "NODE_ENV=production tsfmt --verify && tslint -p . -c tslint.json 'src/**/*.ts*' && webpack",
"prepublishOnly": "NODE_ENV=production webpack",
"test": "mocha --reporter spec --require ts-node/register src/**/*.test.ts",
"linter": "tslint -p . -c tslint.json 'src/**/*.ts*' --fix",
"doc": "typedoc --mode modules --out build/docs --exclude '**/*.test.ts' 'src/'"
},
"author": "LOGILAB <contact@logilab.fr>",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment