1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-01 21:10:14 +02:00

Remove lint from npm run perf

This commit is contained in:
Soreine
2016-11-03 10:34:10 +01:00
parent ca14f242c2
commit 580cb24623
2 changed files with 3 additions and 3 deletions

View File

@@ -9,7 +9,7 @@ script:
if [ "$TEST_TYPE" = test ]; then if [ "$TEST_TYPE" = test ]; then
npm test npm test
elif [ "$TEST_TYPE" = benchmarks ]; then elif [ "$TEST_TYPE" = benchmarks ]; then
npm run benchmarks npm run perf
elif [ "$TEST_TYPE" = lint ]; then elif [ "$TEST_TYPE" = lint ]; then
npm run lint npm run lint
fi fi

View File

@@ -90,8 +90,8 @@
"gh-pages": "npm run build && npm run examples && gh-pages --dist ./examples", "gh-pages": "npm run build && npm run examples && gh-pages --dist ./examples",
"lint": "eslint --ignore-pattern 'build.dev.js' --ignore-pattern 'build.prod.js' '{examples,src}/**/*.js'", "lint": "eslint --ignore-pattern 'build.dev.js' --ignore-pattern 'build.prod.js' '{examples,src}/**/*.js'",
"open": "open http://localhost:8080/dev.html", "open": "open http://localhost:8080/dev.html",
"perf": "npm-run-all lint build:npm benchmarks", "perf": "npm-run-all build:npm benchmarks",
"perf:save": "npm-run-all lint build:npm benchmarks:save", "perf:save": "npm-run-all build:npm benchmarks:save",
"benchmarks": "babel-node ./perf/index.js --compare ./perf/reference.json", "benchmarks": "babel-node ./perf/index.js --compare ./perf/reference.json",
"benchmarks:save": "babel-node ./perf/index.js --output ./perf/reference.json", "benchmarks:save": "babel-node ./perf/index.js --output ./perf/reference.json",
"prepublish": "npm run build", "prepublish": "npm run build",