Commit 725014da authored by Élodie Thiéblin's avatar Élodie Thiéblin
Browse files

[package] Modify scripts for ci

parent ac80b5653f69
...@@ -5,9 +5,11 @@ ...@@ -5,9 +5,11 @@
"scripts": { "scripts": {
"clean": "rm -rf build", "clean": "rm -rf build",
"format": "tsfmt -r", "format": "tsfmt -r",
"build": "tsfmt --verify && tslint -p . -c tslint.json 'src/**/*.ts*' && webpack", "format:check": "tsfmt --verify",
"build": "webpack",
"build:production": "NODE_ENV=production tsfmt --verify && tslint -p . -c tslint.json 'src/**/*.ts*' && webpack", "build:production": "NODE_ENV=production tsfmt --verify && tslint -p . -c tslint.json 'src/**/*.ts*' && webpack",
"linter": "tslint -p . -c tslint.json 'src/**/*.ts*' --fix", "linter": "tslint -p . -c tslint.json 'src/**/*.ts*' --fix",
"linter:check": "tslint -p . -c tslint.json 'src/**/*.ts*'",
"serve": "webpack && webpack-dev-server" "serve": "webpack && webpack-dev-server"
}, },
"main": "./build/index.js", "main": "./build/index.js",
......
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