forked from SimulatedGREG/electron-vue
-
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.
- Loading branch information
1 parent
54607e1
commit f2fa349
Showing
1 changed file
with
10 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,12 +18,19 @@ | |
"lint:fix": "eslint --ext .js,.vue -f ./node_modules/eslint-friendly-formatter --fix app", | ||
{{/if}} | ||
"pack": "cross-env NODE_ENV=production webpack -p --progress --colors", | ||
"postinstall": "{{#if eslint}}npm run lint:fix && {{/if}}cd app && npm install"{{#isEnabled plugins 'vue-router'}}, | ||
{{#testing unit e2e}} | ||
"test": "{{#unit}}npm run unit{{/unit}}{{#unit}}{{#e2e}} && {{/e2e}}{{/unit}}{{#e2e}}npm run e2e{{/e2e}}", | ||
{{/testing}} | ||
{{#if unit}} | ||
"unit": "karma start test/unit/karma.conf.js", | ||
{{/if}} | ||
"vue:route": "node tasks/vue/route.js"{{/isEnabled}}{{#isEnabled plugins 'vuex'}}, | ||
"vuex:module": "node tasks/vuex/module.js"{{/isEnabled}} | ||
{{#isEnabled plugins 'vue-router'}} | ||
"vue:route": "node tasks/vue/route.js", | ||
{{/isEnabled}} | ||
{{#isEnabled plugins 'vuex'}} | ||
"vuex:module": "node tasks/vuex/module.js", | ||
{{/isEnabled}} | ||
"postinstall": "{{#if eslint}}npm run lint:fix && {{/if}}cd app && npm install" | ||
}, | ||
"author": "Greg Holguin <[email protected]>", | ||
"license": "MIT", | ||
|