Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update npm scripts
  • Loading branch information
刘祺 committed Aug 16, 2017
commit 66297aa7f3d31f3f3d6c63a01d5722c8b181272a
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@
"generateNativeCode": "node generate/scripts/generateNativeCode",
"install": "node lifecycleScripts/preinstall && node lifecycleScripts/install",
"installDebug": "BUILD_DEBUG=true npm install",
"lint": "node lifecycleScripts/lint",
"lint:fix": "npm run lint -- --fix",
"mergecov": "lcov-result-merger 'test/**/*.info' 'test/coverage/merged.lcov' && ./lcov-1.10/bin/genhtml test/coverage/merged.lcov --output-directory test/coverage/report",
"mocha": "mocha test/runner test/tests --timeout 15000",
"mochaDebug": "mocha --debug-brk test/runner test/tests --timeout 15000",
Expand All @@ -90,8 +92,8 @@
"rebuildDebug": "node generate && npm run babel && node-gyp configure --debug build",
"recompile": "node-gyp configure build",
"recompileDebug": "node-gyp configure --debug build",
"precommit": "npm run pretest -- --fix",
"pretest": "node lifecycleScripts/lint",
"precommit": "npm run lint:fix",
"pretest": "npm run lint",
"test": "node --expose-gc test",
"xcodeDebug": "node-gyp configure -- -f xcode"
}
Expand Down