-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
175 lines (161 loc) · 9.75 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
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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
{
"name": "ionic-2",
"version": "0.0.1",
"description": "Starter kit project with angular2 and webpack",
"main": "",
"repository": {
"type": "git",
"url": ""
},
"engines": {
"node": ">= 4.2.1 <= 5"
},
"scripts": {
"build": "webpack --progress --profile --display-error-details --display-cached",
"watch": "webpack --watch --progress --profile --display-error-details --display-cached",
"clean": "rimraf dist coverage reports",
"clean:docs": "rimraf doc",
"lint": "npm run tslint && npm run eslint",
"tslint": "tslint -c tslint.json \"client/**/*.ts\" \"test/**/*.ts\" \"fuse/**/*.ts\" ",
"eslint": "eslint .",
"browsersync": "npm run watch & browser-sync start --server=dist/${TARGET-app}/${MODE-dev} --files=\"dist/${TARGET-app}/${MODE-dev}/*.*\" --port 5000 --https --no-ghost-mode --d --display-reasons --display-modules",
"browsersync:nohttps": "npm run watch & browser-sync start --server=dist/${TARGET-app}/${MODE-dev} --files=\"dist/${TARGET-app}/${MODE-dev}/*.*\" --port 5000 --no-ghost-mode",
"webpack:server": "webpack-dev-server --hot --colors --progress",
"typedoc": "./node_modules/.bin/typedoc",
"docs": "npm run typedoc -- --options typedoc.json --exclude '**/*.spec.ts' --out doc/${TARGET-app} ./client/scripts/${TARGET-app}",
"karma": "karma start",
"pretest": "npm run lint",
"test": "npm run karma",
"karma:watch": "WATCH=true npm run karma -- --auto-watch --no-single-run",
"webdriver:update": "webdriver-manager update",
"webdriver:start": "webdriver-manager start",
"pree2e": "npm run webdriver:update -- --standalone",
"e2e": "ts-node node_modules/.bin/protractor",
"e2e:live": "protractor --elementExplorer",
"ionic:hooks:chmodx": "find -L dist/${TARGET-app}/${MODE-dev}/hooks -type f -and -exec chmod +x {} \";\"",
"ionic:package:copy": "cp -f dist/${TARGET-app}/${MODE-dev}/package.json client/scripts/${TARGET-app}/package.json",
"preionic:platform": "npm run check:target:ionic --silent && npm run check:already:built --silent",
"ionic:platform": "(cd dist/${TARGET-app}/${MODE-dev} && for p in ${PLATFORM-(ios android)}; do for o in ${OPERATION-(rm add)}; do ionic platform $o $p ${OPTIONS}; done; done)",
"postionic:platform": "npm run ionic:package:copy",
"ionic:platform:rm": "OPERATION=rm npm run ionic:platform",
"ionic:platform:add": "OPERATION=add npm run ionic:platform",
"ionic:platform:android": "PLATFORM=android npm run ionic:platform",
"ionic:platform:rm:android": "PLATFORM=android OPERATION=rm npm run ionic:platform",
"ionic:platform:add:android": "PLATFORM=android OPERATION=add npm run ionic:platform",
"ionic:platform:ios": "PLATFORM=ios npm run ionic:platform",
"ionic:platform:rm:ios": "PLATFORM=ios OPERATION=rm npm run ionic:platform",
"ionic:platform:add:ios": "PLATFORM=ios OPERATION=add npm run ionic:platform",
"preionic:plugin": "npm run check:target:ionic --silent && npm run check:already:built --silent",
"ionic:plugin": "(cd dist/${TARGET-app}/${MODE-dev} && for p in ${PLUGIN}; do for o in ${OPERATION-(rm add)}; do ionic plugin $o $p ${OPTIONS}; done; done)",
"postionic:plugin": "npm run ionic:package:copy",
"ionic:plugin:rm": "OPERATION=rm npm run ionic:plugin",
"ionic:plugin:add": "OPERATION=add npm run ionic:plugin",
"preionic:run": "npm run check:target:ionic --silent && npm run check:already:built --silent && npm run check:ionic:platform --silent",
"ionic:run": "(cd dist/${TARGET-app}/${MODE-dev} && ionic run ${PLATFORM} ${OPTIONS-(--device)})",
"ionic:run:android": "PLATFORM=android npm run ionic:run",
"ionic:run:ios": "PLATFORM=ios npm run ionic:run",
"preionic:serve": "npm run check:target:ionic --silent && npm run check:already:built --silent",
"ionic:serve": "((npm run watch) & (cd dist/${TARGET-app}/${MODE-dev} && ionic serve ${OPTIONS}))",
"ionic:serve:lab": "OPTIONS+=(--lab) npm run ionic:serve",
"preionic:emulate": "npm run check:target:ionic --silent && npm run check:already:built --silent",
"ionic:emulate": "((npm run watch) & (cd dist/${TARGET-app}/${MODE-dev} && ionic emulate))",
"prefuse:cli": "npm run check:target:fuse --silent && npm run check:already:built --silent",
"fuse:clean": "(cd dist/${TARGET-app}/${MODE-dev} && uno clean)",
"prefuse:cli": "npm run check:target:fuse --silent && npm run check:already:built --silent",
"fuse:cli": "(cd dist/${TARGET-app}/${MODE-dev} && fuse ${COMMAND} ${ARGS})",
"fuse:build:ios": "COMMAND=build OPTIONS+=(--target=iOS --run) npm run fuse:cli",
"fuse:build:android": "COMMAND=build OPTIONS+=(--target=android --run) npm run fuse:cli",
"fuse:preview": "COMMAND=preview npm run fuse:cli",
"fuse:preview:ios": "COMMAND=preview OPTIONS+=(--target=ios) npm run fuse:cli",
"fuse:preview:android": "COMMAND=preview OPTIONS+=(--target=android) npm run fuse:cli",
"preelectron": "npm run check:already:built --silent",
"electron": "electron dist/${TARGET-app}/${MODE-dev}",
"postinstall": "tsd install",
"error:unbuilt": "echo \"\\x1B[1;30;41mError!\\x1B[0m Target \\x1B[1;35m${TARGET-app}\\x1B[0m has not been built in mode \\x1B[1;35m${MODE-dev}\\x1B[0m. Please run \\x1B[1mTARGET=${TARGET-app} MODE=${MODE-dev} npm run build\\x1B[0m and try again.\" && exit 1",
"error:not:ionic": "echo \"\\x1B[1;30;41mError!\\x1B[0m Target \\x1B[1;35m${TARGET-app}\\x1B[0m is not a valid ionic target. Please choose a valid target by setting \\x1B[1mTARGET=<ionic_target>\\x1B[0m before running the command and try again. If you have not scaffolded a valid ionic target yet, please run \\x1B[1myo mcfly-ng2:target\\x1B[0m and select ionic.\" && exit 1",
"error:not:fuse": "echo \"\\x1B[1;30;41mError!\\x1B[0m Target \\x1B[1;35m${TARGET-app}\\x1B[0m is not a valid fuse target. Please choose a valid target by setting \\x1B[1mTARGET=<fuse_target>\\x1B[0m before running the command and try again. If you have not scaffolded a valid fuse target yet, please run \\x1B[1myo mcfly-ng2:target\\x1B[0m and select fuse.\" && exit 1",
"error:missing:platform": "echo \"\\x1B[1;30;41mError!\\x1B[0m No \\x1B[1;35mPLATFORM\\x1B[0m variable specified. Please choose a valid platform by setting \\x1B[1mPLATFORM=ios\\x1B[0m or \\x1B[1mPLATFORM=android\\x1B[0m before running the command and try again.\" && exit 1",
"check:target:ionic": "if [ ! -f client/scripts/${TARGET-app}/config.xml ]; then npm run error:not:ionic; fi",
"check:target:fuse": "if [ ! -f client/scripts/${TARGET-app}/index.ux ]; then npm run error:not:fuse; fi",
"check:already:built": "if [ ! -d dist/${TARGET-app}/${MODE-dev}/ ]; then npm run error:unbuilt; fi",
"check:ionic:platform": "if [ -z ${PLATFORM} ]; then error:missing:platform; elif [ ! -d dist/${TARGET-app}/${MODE-dev}/platforms/${PLATFORM} ]; then (OPERATION=add npm run ionic:platform); fi"
},
"dependencies": {
"@angular/common": "2.0.0-rc.6",
"@angular/compiler": "2.0.0-rc.6",
"@angular/core": "2.0.0-rc.6",
"@angular/forms": "2.0.0-rc.6",
"@angular/http": "2.0.0-rc.6",
"@angular/platform-browser": "2.0.0-rc.6",
"@angular/platform-browser-dynamic": "2.0.0-rc.6",
"@angular/platform-server": "2.0.0-rc.6",
"@angular/router": "3.0.0-rc.2",
"es6-shim": "0.35.1",
"es7-reflect-metadata": "1.6.0",
"ionic-angular": "nightly",
"ionic-native": "1.3.21",
"ionicons": "3.0.0",
"lodash": "4.15.0",
"parse5": "1.4.2",
"reflect-metadata": "0.1.8",
"rxjs": "5.0.0-beta.11",
"zone.js": "0.6.17"
},
"devDependencies": {
"angular2-template-loader": "^0.5.0",
"autoprefixer": "^6.4.1",
"awesome-typescript-loader": "^2.2.4",
"babel-polyfill": "^6.13.0",
"bluebird": "^3.3.5",
"browser-sync": "^2.15.0",
"codelyzer": "0.0.28",
"copy-webpack-plugin": "^3.0.1",
"coveralls": "^2.11.12",
"css-loader": "^0.25.0",
"eslint": "^3.5.0",
"eslint-plugin-nodeca": "^1.0.3",
"file-loader": "^0.9.0",
"html-loader": "^0.4.3",
"html-webpack-plugin": "^2.21.1",
"ionic": "^2.0.0",
"istanbul-instrumenter-loader": "^0.2.0",
"jasmine-spec-reporter": "^2.7.0",
"json-loader": "^0.5.4",
"karma": "^1.3.0",
"karma-chrome-launcher": "^0.2.2",
"karma-coverage": "^1.1.1",
"karma-jasmine": "^1.0.2",
"karma-mocha-reporter": "^2.1.0",
"karma-nyan-reporter": "^0.2.3",
"karma-phantomjs-launcher": "^1.0.2",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "1.8.0",
"ngux-loader": "mcfly-io/ngux-loader",
"node-dir": "^0.1.12",
"node-sass": "^3.9.3",
"phantomjs-polyfill": "0.0.2",
"phantomjs-prebuilt": "^2.1.12",
"postcss-loader": "^0.13.0",
"protractor": "^4.0.7",
"protractor-jasmine2-screenshot-reporter": "^0.3.2",
"raw-loader": "^0.5.1",
"rimraf": "^2.5.4",
"sass-loader": "^4.0.2",
"style-loader": "^0.13.0",
"ts-loader": "^0.8.1",
"ts-node": "^1.3.0",
"tsd": "^0.6.5",
"tslint": "^3.15.1",
"tslint-eslint-rules": "^1.5.0",
"tslint-loader": "^2.1.5",
"typedoc": "0.3.12",
"typescript": "2.0.2",
"url-loader": "^0.5.7",
"webpack": "^1.13.2",
"webpack-dev-server": "^1.15.1",
"yargs": "^5.0.0"
},
"keywords": [],
"author": "",
"license": "MIT"
}