-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
38 lines (38 loc) · 1.6 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
"name": "svelte-app",
"version": "1.0.0",
"devDependencies": {
"cross-env": "^5.2.0",
"fs-extra": "^8.1.0",
"npm-run-all": "^4.1.5",
"rollup": "^1.10.1",
"rollup-plugin-commonjs": "^9.3.4",
"rollup-plugin-livereload": "^1.0.0",
"rollup-plugin-node-resolve": "^4.2.3",
"rollup-plugin-svelte": "^5.0.3",
"rollup-plugin-terser": "^4.0.4",
"svelte": "^3.0.0"
},
"dependencies": {
"sirv-cli": "^0.4.4",
"svelte-cordova": "^1.0.6"
},
"scripts": {
"build": "rollup -c",
"autobuild": "rollup -c -w",
"dev": "run-p start:dev autobuild",
"start": "sirv public --single",
"start:dev": "sirv public --single --dev",
"serve:cordova": "sirv src-cordova/www --single --dev --host",
"dev-android": "cross-env CORDOVA_PLATFORM=android run-p serve:cordova autobuild cordova-run-android",
"bundle-android": "cross-env CORDOVA_PLATFORM=android CORDOVA_PROD=true npm run build",
"build-android": "cross-env CORDOVA_PLATFORM=android CORDOVA_PROD=true npm run build-android-subtask",
"build-android-subtask": "npm run build && cd src-cordova && cordova build android",
"cordova-run-android": "cd src-cordova && cordova run android",
"dev-ios": "cross-env CORDOVA_PLATFORM=ios run-p serve:cordova autobuild cordova-run-ios",
"bundle-ios": "cross-env CORDOVA_PLATFORM=ios CORDOVA_PROD=true npm run build",
"build-ios": "cross-env CORDOVA_PLATFORM=ios CORDOVA_PROD=true npm run build-ios-subtask",
"build-ios-subtask": "npm run build && cd src-cordova && cordova build ios",
"cordova-run-ios": "cd src-cordova && cordova run ios"
}
}