This repository has been archived by the owner on Jan 22, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathpackage.json
143 lines (143 loc) · 5.43 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
{
"name": "<APP_NAME>",
"version": "3.0.0",
"main": "src/main.jsx",
"scripts": {
"build": "npm run build:browser",
"build:browser": "NODE_ENV=browser:production npm run commons:build",
"build:mobile": "NODE_ENV=mobile:production npm run commons:build",
"clean:browser": "rm -rf build/*",
"clean:mobile": "rm -rf mobile/www/*",
"commons:build": "webpack --config webpack.config.js --bail",
"commons:watch": "webpack --config webpack.config.js --watch --display-modules --display-chunks",
"commons:watch:standalone": "webpack-dev-server --config webpack.config.js --display-modules --display-chunks --inline --hot",
"deploy": "git-directory-deploy --username Cozy --email [email protected] --directory build/ --repo=https://[email protected]/<USERNAME_GH>/<SLUG_GH>.git",
"tx": "tx pull --all || true",
"precommons:build": "npm-run-all lint tx",
"prebuild:browser": "npm run clean:browser",
"prebuild:mobile": "npm run clean:mobile",
"pretest": "npm run lint",
"prewatch:browser": "npm run clean:browser",
"prewatch:mobile": "npm run clean:mobile",
"lint": "npm-run-all --parallel 'lint:*'",
"lint:js": "standard --parser babel-eslint 'src/**/*.js' 'src/**/*.jsx'",
"lint:styles": "stylint src/styles --config ./.stylintrc",
"stack:docker": "docker run --rm -it -p 8080:8080 -v \"$(pwd)/build\":/data/cozy-app/app cozy/cozy-app-dev",
"test": "node --harmony_proxies node_modules/.bin/jest",
"watch": "npm run watch:browser",
"watch:browser": "NODE_ENV=browser:development npm run commons:watch",
"watch:mobile": "NODE_ENV=mobile:development npm run commons:watch",
"watch:browser:standalone": "NODE_ENV=browser:development npm run commons:watch:standalone",
"watch:mobile:standalone": "NODE_ENV=mobile:development npm run commons:watch:standalone",
"watch:standalone": "npm run watch:browser:standalone",
"android:run": "cd mobile ; cordova run android --device ; cd ..",
"android:run:emulator": "cd mobile ; cordova run android --emulator ; cd ..",
"android:release": "npm run build:mobile && cd mobile ; cordova build android --release ; cd ..",
"android:signed": "npm run android:release && cd mobile ; apksigner sign --ks keys/android/<APP_NAME>-release-key.jks --out build/android/<APP_NAME>.apk platforms/android/build/outputs/apk/android-release-unsigned.apk ; cd ..",
"android:publish": "npm run android:signed && cd mobile ; fastlane supply ; cd ..",
"ios:run": "cd mobile ; cordova run ios --device ; cd ..",
"ios:run:emulator": "cd mobile ; cordova run ios --emulator ; cd .."
},
"repository": {
"type": "git",
"url": "git+https://github.com/<USERNAME_GH>/<SLUG_GH>.git"
},
"author": "Cozy Cloud <[email protected]> (https://cozy.io/)",
"contributors": [],
"license": "AGPL-3.0",
"bugs": {
"url": "https://github.com/<USERNAME_GH>/<SLUG_GH>/issues"
},
"homepage": "https://github.com/<USERNAME_GH>/<SLUG_GH>#readme",
"devDependencies": {
"autoprefixer": "^6.5.0",
"babel-core": "^6.0.0",
"babel-eslint": "^7.2.3",
"babel-jest": "^18.0.0",
"babel-loader": "^6.0.0",
"babel-plugin-transform-object-rest-spread": "^6.22.0",
"babel-plugin-transform-react-jsx": "^6.8.0",
"babel-plugin-transform-runtime": "^6.0.0",
"babel-polyfill": "^6.20.0",
"babel-preset-env": "^1.0.2",
"babel-preset-react": "^6.16.0",
"babel-runtime": "^6.0.0",
"copy-webpack-plugin": "^4.0.1",
"css-loader": "^0.26.0",
"css-mqpacker": "^4.0.1",
"csswring": "^5.1.1",
"enzyme": "^2.7.0",
"extract-text-webpack-plugin": "^1.0.1",
"file-loader": "^0.9.0",
"git-directory-deploy": "^1.5.0",
"html-webpack-plugin": "^2.24.0",
"identity-obj-proxy": "^3.0.0",
"imports-loader": "^0.7.0",
"jest": "^18.0.0",
"json-loader": "^0.5.0",
"npm-run-all": "^3.1.0",
"postcss": "^5.2.0",
"postcss-assets-webpack-plugin": "^1.0.0",
"postcss-discard-duplicates": "^2.0.2",
"postcss-loader": "^1.1.0",
"react": "^15.4.0",
"react-addons-test-utils": "^15.4.2",
"react-dom": "^15.4.0",
"react-test-renderer": "^15.4.0",
"redux-mock-store": "^1.2.1",
"script-ext-html-webpack-plugin": "^1.5.0",
"standard": "^8.6.0",
"standard-loader": "^5",
"style-loader": "^0.13.0",
"stylint": "^1.5.9",
"stylus": "^0.54.0",
"stylus-loader": "^2.4.0",
"svg-sprite-loader": "^0.0.31",
"webpack": "^1.14.0",
"webpack-dev-server": "^1.16.0",
"webpack-merge": "^1.0.2"
},
"dependencies": {
"classnames": "^2.2.0",
"cozy-bar": "3.0.0-beta14",
"cozy-client-js": "0.2.0",
"cozy-ui": "3.0.0-beta19",
"date-fns": "^1.26.0",
"node-polyglot": "^2.2.0",
"preact": "^7.1.0",
"preact-compat": "^3.9.0",
"react-redux": "^5.0.1",
"react-router-dom": "^4.1.1",
"redux": "^3.6.0",
"redux-logger": "^2.7.4",
"redux-raven-middleware": "^1.2.0",
"redux-thunk": "^2.1.0"
},
"jest": {
"moduleFileExtensions": [
"js",
"jsx",
"json",
"styl"
],
"moduleNameMapper": {
"\\.(png|gif|jpe?g|svg)$": "<rootDir>/test/__mocks__/fileMock.js",
"styles": "identity-obj-proxy"
},
"transformIgnorePatterns": [
"node_modules/(?!cozy-ui)"
],
"globals": {
"__ALLOW_HTTP__": false,
"__TARGET__": "browser",
"__SENTRY_TOKEN__": "token",
"cozy": {}
}
},
"standard": {
"env": [
"browser",
"jest"
]
}
}