forked from rubenspgcavalcante/leaflet-ant-path
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fixed webpack loader config on Karma * fixed tests * removed istanbul coverage * raising travis node version to 8
- Loading branch information
1 parent
6c99f7b
commit 00dc278
Showing
7 changed files
with
77 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,12 +11,14 @@ | |
"main": "dist/leaflet-ant-path.js", | ||
"scripts": { | ||
"build": "NODE_ENV=production webpack --colors --profile --progress", | ||
"test": "karma start karma/karma.conf.js --log-level debug --single-run && node karma/clean-report.js", | ||
"test": "NODE_ENV=test karma start karma/karma.conf.js --single-run", | ||
"test:chrome": "npm run test -- --browsers=Chrome --single-run=false", | ||
"clean-report": "node karma/clean-report.js", | ||
"analyze": "NODE_ENV=production webpack --profile --json > .wbprofile.json && webpack-bundle-analyzer .wbprofile.json -m server", | ||
"format": "prettier-eslint --write \"{dev-env,src}/**/*.js\"", | ||
"start": "NODE_ENV=development webpack-dev-server -d --cache --inline --host 0.0.0.0", | ||
"codacy": "cat coverage/lcov.info | codacy-coverage", | ||
"prepublish": "npm run build" | ||
"prepublish": "npm run test && npm run build" | ||
}, | ||
"author": "Rubens Pinheiro Gonçalves Cavalcante <[email protected]>", | ||
"license": "MIT", | ||
|
@@ -41,6 +43,7 @@ | |
"babel-plugin-transform-object-rest-spread": "^6.22.0", | ||
"babel-plugin-transform-regenerator": "^6.22.0", | ||
"babel-plugin-transform-runtime": "^6.23.0", | ||
"babel-polyfill": "^6.26.0", | ||
"babel-preset-es2015": "^6.22.0", | ||
"codacy-coverage": "^2.0.0", | ||
"core-js": "^2.4.1", | ||
|
@@ -54,6 +57,7 @@ | |
"jasmine-core": "^3.1.0", | ||
"karma": "^2.0.0", | ||
"karma-babel-preprocessor": "^7.0.0", | ||
"karma-chrome-launcher": "^2.2.0", | ||
"karma-coverage": "^1.1.1", | ||
"karma-jasmine": "^1.1.0", | ||
"karma-phantomjs-launcher": "^1.0.2", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters