@ -35,10 +35,11 @@
"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" : "node --trace-warnings -r babel-register ./node_modules/webpack-serve/lib/cli.js --config webpack.config.renderer.dev.js" ,
"start-renderer-dev" : "node --trace-warnings -r babel-register ./node_modules/webpack-serve/lib/cli.js --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-ci" : "npm run package && npm run test-e2e && npm run test && npm run coveralls " ,
"test-all" : "npm run lint && npm run lint-styles && npm run flow && npm run build && npm run test && npm run test-e2e " ,
"test-all" : "npm run lint && npm run lint-styles && npm run flow && npm run build && npm run test-e2e && npm run test" ,
"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"
"coverage" : "open coverage/index.html" ,
"coveralls" : "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
} ,
} ,
"config" : {
"config" : {
"style_paths" : "app/styles/*.scss app/components/**/*.scss" ,
"style_paths" : "app/styles/*.scss app/components/**/*.scss" ,
@ -132,6 +133,13 @@
] ,
] ,
"homepage" : "https://github.com/LN-Zap/zap-desktop#readme" ,
"homepage" : "https://github.com/LN-Zap/zap-desktop#readme" ,
"jest" : {
"jest" : {
"collectCoverage" : true ,
"coverageReporters" : [
"json" ,
"lcov" ,
"text" ,
"html"
] ,
"moduleNameMapper" : {
"moduleNameMapper" : {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$" : "<rootDir>/internals/mocks/fileMock.js" ,
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$" : "<rootDir>/internals/mocks/fileMock.js" ,
"\\.(css|less|sass|scss)$" : "identity-obj-proxy"
"\\.(css|less|sass|scss)$" : "identity-obj-proxy"
@ -176,6 +184,7 @@
"clean-webpack-plugin" : "^0.1.19" ,
"clean-webpack-plugin" : "^0.1.19" ,
"concurrently" : "^3.6.0" ,
"concurrently" : "^3.6.0" ,
"connect-history-api-fallback" : "^1.5.0" ,
"connect-history-api-fallback" : "^1.5.0" ,
"coveralls" : "^3.0.2" ,
"cross-env" : "^5.2.0" ,
"cross-env" : "^5.2.0" ,
"cross-spawn" : "^6.0.5" ,
"cross-spawn" : "^6.0.5" ,
"csp-html-webpack-plugin" : "^2.3.0" ,
"csp-html-webpack-plugin" : "^2.3.0" ,