/
package.json
65 lines (65 loc) · 2.87 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
{
"name": "LiveWell",
"version": "3.3.6",
"description": "LiveWell application, expert system and notifications for bipolar intervention",
"author": "Mark Begale",
"contributors": [
{
"name": "Mark Begale",
"email": "m-begale@northwestern.edu"
}
],
"dependencies": {
"angular": "^1.4.0",
"angular-resource": "^1.4.0",
"angular-route": "^1.4.0",
"cordova": "5.3.1",
"cordova-android": "^6.2.3",
"cordova-plugin-device": "~1.1.4",
"cordova-plugin-whitelist": "~1.3.1",
"font-awesome": "^4.3.0",
"moment": "^2.10.2",
"phonegap-plugin-push": "~1.9.2"
},
"devDependencies": {
"angular-mocks": "^1.4.0",
"chai": "^2.1.2",
"chai-as-promised": "^5.0.0",
"eslint": "^1.3.1",
"mocha": "^2.2.1",
"sinon": "^1.14.1",
"testem": "^0.8.0-0",
"wd": "^0.3.11"
},
"keywords": [
"bipolar"
],
"scripts": {
"init": "npm install && npm_config_env=test npm_config_server=http://127.0.0.1:3000 npm run set_endpoint && npm run set_endpoint && npm run build:prepare && npm run browser:add_platform && npm run android:add_platform && npm run add_plugins",
"set_endpoint": "echo \"{\\\"environment\\\":\\\"$npm_config_env\\\",\\\"server\\\":\\\"$npm_config_server\\\"}\" > src/config.json && sed s%ACCESS_ORIGIN%$npm_config_server%g config > config.xml",
"android:add_platform": "./node_modules/.bin/cordova platform remove android && ./node_modules/.bin/cordova platform add android@4.0.0",
"android:build": "npm run build:prepare && ./node_modules/.bin/cordova build android",
"android:simulator": "npm run android:build && ./node_modules/.bin/cordova run android",
"browser:add_platform": "./node_modules/.bin/cordova platform remove browser && ./node_modules/.bin/cordova platform add browser && npm run add_plugins",
"add_plugins": "",
"browser:build": "npm run build:prepare && ./node_modules/.bin/cordova build browser",
"browser:simulator": "npm run browser:build && ./node_modules/.bin/cordova run browser",
"build:all": "npm run browser:build && npm run android:build",
"build:clean": "rm -rf www && mkdir -p www/js www/css",
"build:prepare": "npm run build:clean && cp -r src/* www/",
"eslint": "./node_modules/.bin/eslint src && ./node_modules/.bin/eslint test",
"eslint:src": "./node_modules/.bin/eslint src",
"eslint:test": "./node_modules/.bin/eslint test",
"serve": "npm run build:prepare && ./node_modules/.bin/cordova run browser"
},
"cordova": {
"plugins": {
"cordova-plugin-device": {},
"cordova-plugin-whitelist": {},
"phonegap-plugin-push": {}
},
"platforms": [
"android"
]
}
}