|
@ -12,6 +12,7 @@ |
|
|
"flow": "flow", |
|
|
"flow": "flow", |
|
|
"flow-typed": "rimraf flow-typed/npm && flow-typed install --overwrite || true", |
|
|
"flow-typed": "rimraf flow-typed/npm && flow-typed install --overwrite || true", |
|
|
"lint": "eslint --cache --format=node_modules/eslint-formatter-pretty .", |
|
|
"lint": "eslint --cache --format=node_modules/eslint-formatter-pretty .", |
|
|
|
|
|
"lint-ci": "npm run lint && npm run flow", |
|
|
"lint-fix": "npm run lint -- --fix", |
|
|
"lint-fix": "npm run lint -- --fix", |
|
|
"lint-styles": "stylelint app/*.css app/components/*.css --syntax scss", |
|
|
"lint-styles": "stylelint app/*.css app/components/*.css --syntax scss", |
|
|
"lint-styles-fix": "stylefmt -r app/*.css app/components/*.css", |
|
|
"lint-styles-fix": "stylefmt -r app/*.css app/components/*.css", |
|
@ -25,6 +26,7 @@ |
|
|
"start-main-dev": "cross-env HOT=1 NODE_ENV=development electron -r babel-register ./app/main.dev", |
|
|
"start-main-dev": "cross-env HOT=1 NODE_ENV=development electron -r babel-register ./app/main.dev", |
|
|
"start-renderer-dev": "cross-env NODE_ENV=development node --trace-warnings -r babel-register ./node_modules/webpack-dev-server/bin/webpack-dev-server --config webpack.config.renderer.dev.js", |
|
|
"start-renderer-dev": "cross-env NODE_ENV=development node --trace-warnings -r babel-register ./node_modules/webpack-dev-server/bin/webpack-dev-server --config webpack.config.renderer.dev.js", |
|
|
"test": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 node --trace-warnings ./test/runTests.js", |
|
|
"test": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 node --trace-warnings ./test/runTests.js", |
|
|
|
|
|
"test-ci": "npm run package && npm run test && npm run test-e2e", |
|
|
"test-all": "npm run lint && npm run flow && npm run build && npm run test && npm run test-e2e", |
|
|
"test-all": "npm run lint && npm run flow && npm run build && npm run test && npm run test-e2e", |
|
|
"test-e2e": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 node --trace-warnings ./test/runTests.js e2e", |
|
|
"test-e2e": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 node --trace-warnings ./test/runTests.js e2e", |
|
|
"test-watch": "npm test -- --watch", |
|
|
"test-watch": "npm test -- --watch", |
|
|