mirror of
https://github.com/apache/cordova-android.git
synced 2026-05-30 00:00:04 +08:00
build: build cordova.js during npm prepare (#1271)
This commit is contained in:
committed by
GitHub
parent
b94409ffe0
commit
35f0d07521
@@ -11,6 +11,7 @@
|
||||
"apache"
|
||||
],
|
||||
"scripts": {
|
||||
"prepare": "cordova-js build > templates/project/assets/www/cordova.js",
|
||||
"test": "npm run lint && npm run cover && npm run java-unit-tests",
|
||||
"lint": "eslint lib spec test \"templates/cordova/**/!(*.*)\"",
|
||||
"unit-tests": "jasmine --config=spec/unit/jasmine.json",
|
||||
@@ -36,6 +37,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@cordova/eslint-config": "^3.0.0",
|
||||
"cordova-js": "^6.1.0",
|
||||
"jasmine": "^3.7.0",
|
||||
"jasmine-spec-reporter": "^7.0.0",
|
||||
"nyc": "^15.1.0",
|
||||
|
||||
Reference in New Issue
Block a user