-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
160 lines (160 loc) · 7.15 KB
/
Copy pathpackage.json
File metadata and controls
160 lines (160 loc) · 7.15 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
{
"readme": "NativeScript Application",
"name": "ngxdemo",
"version": "0.1.0",
"description": "NativeScript Application",
"repository": {
"type": "git",
"url": "https://github.com/holisticon/nativescript-ngx-demo.git"
},
"scripts": {
"preclean": "npm i rimraf",
"clean": "rimraf platforms target app/*.css app/**/*.js app/**/*.js.map app/**/*.ngfactory.ts app/**/*.ngfactory.d.ts app/**/*.ngsummary.json app/**/*.metadata.json ",
"postclean": "npm install && mkdirp target",
"check": "npm run ngc && npm run tslint",
"jsonlint": "jsonlint ./app/assets/i18n/de.json -c -q -p && jsonlint ./app/assets/i18n/en.json -c -q -p",
"buildnumbering": "tns-buildnumbering",
"mediagen": "node node_modules/nativescript-media-generator/tns-media-gen.js",
"watch-android": "tns run ios --emulator --watch --bundle",
"watch-android-device": "tns run android --device $(adb devices -l | grep usb | awk {'print $1'}) --watch --bundle",
"watch-ios": "tns run ios --emulator --watch --bundle",
"debug-android": "cross-env NODE_ENV=development tns debug android --emulator --bundle --debug-brk",
"debug-android-device": "cross-env NODE_ENV=development tns debug android --device $(adb devices -l | grep usb | awk {'print $1'}) --bundle --debug-brk",
"debug-ios": "tns debug ios --emulator --debug-brk --watch --debug-brk",
"build": "npm run check && npm run ns-bundle --android --build-app --uglify --clean && npm run ns-bundle --ios --build-app --clean --uglify",
"android": "rimraf lib hooks platforms && tns install && npm run start-android-bundle",
"android-device": "rimraf lib hooks platforms && tns install && npm run start-android-bundle",
"ios": "rimraf lib hooks platforms && tns install && tns run ios --emulator --bundle",
"test": "cross-env NODE_ENV=test npm run test-ios -- --clean",
"test-ios": "cross-env NODE_ENV=test tns test ios --emulator --justlaunch",
"test-android": "cross-env NODE_ENV=test tns test android --emulator --justlaunch --timeout 60000",
"test-android-device": "cross-env NODE_ENV=test tns test android --device $(adb devices -l | grep usb | awk {'print $1'}) --justlaunch --timeout 60000",
"test-ios-debug": "cross-env NODE_ENV=test tns test ios --emulator --debug-brk",
"test-ios-watch": "cross-env NODE_ENV=test tns test ios --emulator --watch",
"ngc": "ngc -p tsconfig.aot.json",
"tsc": "tsc -p tsconfig.json",
"tslint": "tslint \"app/**/*.ts\"",
"nsp": "nsp check",
"ns-bundle": "ns-bundle",
"app-changelog": "node etc/changelog.js",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"package": "cross-env NODE_ENV=production TNS_ANDROID_SNAPSHOT=0 KEYSTORE_PATH=$KEYSTORE_PATH KEYSTORE_PASS=$KEYSTORE_PASS tns build android --release --key-store-path $KEYSTORE_PATH --key-store-password $KEYSTORE_PASS --key-store-alias ngxdemo --key-store-alias-password $KEYSTORE_PASS && tns build ios --release --for-device",
"version-and-push": "git push origin master && git push origin --tags",
"prerelease": "npm run buildnumbering && npm run changelog && git add CHANGELOG.md && git add package.json && git add app/App_Resources/Android/AndroidManifest.xml && git commit -m 'Release version' || echo '' && mkdir -p target",
"release": "npm run package",
"postrelease": "git checkout package.json && npm run buildnumbering && mv platforms/android/build/outputs/apk/*-release.apk target/ && mv platforms/ios/build/device/*.ipa target/",
"release:snapshot": "npm run release",
"release:major": "npm version major && npm run release && npm run version-and-push",
"release:minor": "npm version minor && npm run release && npm run version-and-push",
"release:patch": "npm version patch && npm run release && npm run version-and-push",
"publish-ios-bundle": "npm run ns-bundle --ios --publish-app",
"generate-android-snapshot": "generate-android-snapshot --targetArchs arm,arm64,ia32 --install",
"start-android-bundle": "npm run ns-bundle --android --run-app",
"start-ios-bundle": "npm run ns-bundle --ios --run-app",
"build-android-bundle": "npm run ns-bundle --android --build-app",
"build-ios-bundle": "npm run ns-bundle --ios --build-app"
},
"nativescript": {
"id": "de.holisticon.nativescript.ngdemo",
"tns-android": {
"version": "3.3.1"
},
"tns-ios": {
"version": "3.3.0"
}
},
"dependencies": {
"@angular/animations": "4.4.6",
"@angular/common": "4.4.6",
"@angular/compiler": "4.4.6",
"@angular/core": "4.4.6",
"@angular/forms": "4.4.6",
"@angular/http": "4.4.6",
"@angular/platform-browser": "4.4.6",
"@angular/platform-browser-dynamic": "4.4.6",
"@angular/router": "4.4.6",
"@ngx-translate/core": "7.2.2",
"@ngx-translate/http-loader": "0.1.0",
"nativescript-angular": "4.4.1",
"nativescript-appinfo": "0.4.1",
"nativescript-couchbase": "1.0.18",
"nativescript-drawingpad": "2.1.0",
"nativescript-email": "1.5.1",
"nativescript-fabric": "1.0.6",
"nativescript-ngx-fonticon": "4.1.0",
"nativescript-plugin-firebase": "5.1.3",
"nativescript-theme-core": "1.0.4",
"nativescript-toast": "1.4.6",
"ng2-validation": "4.2.0",
"reflect-metadata": "0.1.10",
"rxjs": "5.4.1",
"tns-core-modules": "3.2.0",
"zone.js": "0.8.16"
},
"devDependencies": {
"@angular/compiler-cli": "4.4.6",
"@angular/tsc-wrapped": "4.4.6",
"@holisticon/nativescript-buildhelper": "0.2.0",
"@ngtools/webpack": "1.6.0",
"@types/jasmine": "2.8.4",
"@types/source-map": "0.5.1",
"@types/uglify-js": "2.6.31",
"babel-traverse": "6.24.1",
"babel-types": "6.24.1",
"babylon": "6.17.1",
"codelyzer": "3.2.1",
"conventional-changelog-cli": "1.3.4",
"copy-webpack-plugin": "4.0.1",
"cross-env": "5.1.4",
"css-loader": "0.28.7",
"enhanced-resolve": "3.4.1",
"extract-text-webpack-plugin": "3.0.0",
"filewalker": "0.1.3",
"html-loader": "0.5.1",
"htmlparser2": "3.9.2",
"jasmine-core": "2.8.0",
"jsonlint": "1.6.3",
"karma": "1.7.1",
"karma-coverage": "1.1.1",
"karma-jasmine": "1.1.0",
"karma-junit-reporter": "1.2.0",
"karma-nativescript-launcher": "0.4.0",
"karma-typescript-preprocessor": "0.3.1",
"lazy": "1.0.11",
"make-dir-cli": "1.0.0",
"mkdirp": "0.5.1",
"nativescript-css-loader": "0.26.1",
"nativescript-dev-sass": "1.3.2",
"nativescript-dev-typescript": "0.5.1",
"nativescript-dev-webpack": "0.8.0",
"nativescript-media-generator": "1.0.0",
"nativescript-unit-test-runner": "0.3.4",
"nativescript-worker-loader": "0.8.1",
"node-sass": "4.5.3",
"raw-loader": "0.5.1",
"resolve-url-loader": "2.1.0",
"rimraf": "2.6.1",
"sass-loader": "6.0.6",
"tslib": "1.8.0",
"tslint": "5.7.0",
"tslint-eslint-rules": "5.0.0",
"typescript": "2.3.4",
"webpack": "3.2.0",
"webpack-bundle-analyzer": "2.8.2",
"webpack-sources": "1.0.1"
},
"keywords": [
"webpack",
"nativescript",
"angular",
"typescript",
"holisticon"
],
"author": "Martin Reinhardt",
"license": "MIT",
"engine-strict": true,
"engines": {
"node": ">= 6",
"npm": ">= 3"
}
}