-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathpackage.json
188 lines (188 loc) · 6.41 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
176
177
178
179
180
181
182
183
184
185
186
187
188
{
"name": "cozy-ui",
"version": "0.0.0-development",
"description": "Cozy apps UI SDK",
"main": "./index.js",
"repository": {
"type": "git",
"url": "https://github.com/cozy/cozy-ui.git"
},
"author": "Cozy Cloud <[email protected]> (http://cozycloud.cc)",
"license": "MIT",
"bugs": {
"url": "https://github.com/cozy/cozy-ui/issues"
},
"homepage": "https://github.com/cozy/cozy-ui",
"scripts": {
"build:css": "env CSSMODULES=false stylus -c --include stylus -o dist/cozy-ui.min.css stylus/cozy-ui/build.styl --use ./node_modules/autoprefixer-stylus --with \"{ browsers: ['last 2 versions'] }\"",
"build:css:app": "env CSSMODULES=false stylus --include stylus -o build/styleguide/app.css stylus/cozy-ui/build.styl --use ./node_modules/autoprefixer-stylus --with \"{ browsers: ['last 2 versions'] }\" --include-css",
"build:doc": "npm-run-all 'build:doc:*'",
"build:doc:config": "copyfiles -u 1 docs/*.md docs/_config.yml build",
"build:doc:kss": "kss --destination build/styleguide --title 'Cozy-UI Styleguide' --source stylus --builder node_modules/michelangelo/kss_styleguide/custom-template --homepage styleguide.md --css app.css",
"build:doc:react": "styleguidist build --config docs/styleguide.config.js",
"clean:doc:kss": "rm -rf build/styleguide",
"commitmsg": "commitlint -e $GIT_PARAMS",
"deploy:doc": "git-directory-deploy --directory build/ --branch gh-pages",
"lint": "npm-run-all 'lint:*'",
"lint:commit": "git merge-base HEAD master && commitlint --from=$(git merge-base HEAD master) --to=HEAD || true",
"lint:js": "eslint 'react/**/*.jsx' 'react/**/*.js'",
"lint:stylus": "stylint stylus --config .stylintrc",
"palette": "scripts/make-palette.sh",
"prebuild:css": "mkdir -p dist/ && stylus -C node_modules/normalize.css/normalize.css node_modules/normalize.css/normalize.styl",
"prebuild:css:app": "mkdir -p build/styleguide",
"prebuild:doc:kss": "run-s clean:doc:kss build:css:app",
"prepare": "yarn release",
"prepush": "[[ $(git rev-parse --abbrev-ref HEAD) != 'gh-pages' ]] && yarn lint || true",
"release": "npm-run-all --parallel sprite palette && yarn transpile",
"semantic-release": "semantic-release",
"sprite": "scripts/make-icon-sprite.sh",
"jest": "yarn test:jest",
"test": "yarn test:jest",
"test:jest": "jest --verbose",
"transpile": "env BABEL_ENV=transpilation babel react/ --out-dir transpiled/react --verbose",
"posttranspile": "postcss transpiled/react/stylesheet.css --replace",
"travis-deploy-once": "travis-deploy-once",
"watch:css": "yarn build:css --watch",
"watch:doc:react": "env BABEL_ENV=transpilation styleguidist server --config docs/styleguide.config.js",
"watch:doc:kss": "nodemon --ext styl,md --watch stylus --exec 'yarn build:doc:kss && http-server build/styleguide -p 4242'"
},
"sideEffects": [
"*.css"
],
"devDependencies": {
"@babel/cli": "7.4.4",
"@babel/core": "7.4.4",
"@material-ui/core": "3.9.3",
"@semantic-release/changelog": "2.1.2",
"@semantic-release/git": "5.0.0",
"@semantic-release/npm": "3.4.1",
"autoprefixer-stylus": "0.14.0",
"babel-loader": "8.0.6",
"babel-plugin-css-modules-transform": "1.6.2",
"babel-plugin-inline-json-import": "0.3.2",
"babel-preset-cozy-app": "1.5.1",
"browserslist-config-cozy": "0.2.0",
"commitlint": "7.6.1",
"commitlint-config-cozy": "0.3.24",
"copyfiles": "1.2.0",
"cozy-client": "6.31.1",
"cozy-device-helper": "1.7.1",
"css-loader": "0.28.11",
"cssnano": "4.1.10",
"cssnano-preset-advanced": "4.0.7",
"enzyme": "3.9.0",
"enzyme-adapter-react-16": "1.12.1",
"enzyme-to-json": "3.3.5",
"eslint": "4.19.1",
"eslint-config-cozy-app": "0.5.1",
"git-directory-deploy": "1.5.1",
"http-server": "0.11.1",
"husky": "0.14.3",
"identity-obj-proxy": "3.0.0",
"jest-cli": "24.7.1",
"kss": "3.0.0-beta.25",
"kss-webpack-plugin": "1.3.1",
"lodash": "4.17.11",
"michelangelo": "https://github.com/cozy/michelangelo.git",
"mini-css-extract-plugin": "0.6.0",
"nodemon": "1.19.0",
"npm-run-all": "4.1.5",
"postcss-cli": "6.1.2",
"postcss-loader": "2.1.6",
"preact": "8.4.2",
"preact-portal": "1.1.3",
"pretty": "2.0.0",
"prop-types": "15.7.2",
"react": "16.6.3",
"react-dom": "16.6.3",
"react-redux": "5.1.1",
"react-styleguidist": "7.3.11",
"react-test-renderer": "16.6.3",
"redux": "3.7.2",
"semantic-release": "15.13.3",
"style-loader": "0.23.1",
"stylint": "1.5.9",
"stylus": "0.54.5",
"stylus-loader": "3.0.2",
"svg-sprite-loader": "3.9.2",
"svgstore-cli": "1.3.1",
"travis-deploy-once": "5.0.10",
"url-loader": "1.1.2",
"webpack": "4.27.1"
},
"dependencies": {
"@babel/runtime": "^7.3.4",
"body-scroll-lock": "^2.5.8",
"classnames": "^2.2.5",
"date-fns": "^1.28.5",
"hammerjs": "^2.0.8",
"node-polyglot": "^2.2.2",
"normalize.css": "^7.0.0",
"react-hot-loader": "^4.3.11",
"react-markdown": "^4.0.8",
"react-pdf": "^4.0.5",
"react-select": "2.2.0"
},
"peerDependencies": {
"@material-ui/core": "3.9.3",
"cozy-client": "*",
"cozy-device-helper": "1.7.1",
"piwik-react-router": "^0.8.2",
"preact": "^8.3.1",
"preact-portal": "^1.1.3",
"react": "^16.6.3",
"react-dom": "^16.5.2"
},
"eslintConfig": {
"extends": [
"eslint-config-cozy-app"
]
},
"commitlint": {
"extends": [
"cozy"
]
},
"jest": {
"setupFiles": [
"./test/jestsetup.js"
],
"moduleFileExtensions": [
"js",
"jsx",
"json",
"styl"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/transpiled/",
"/dist/"
],
"moduleDirectories": [
"node_modules",
"src",
"react-styleguidist/lib"
],
"transform": {
"^.+\\.jsx?$": "babel-jest"
},
"transformIgnorePatterns": [
"node_modules/(?!(react-styleguidist)/)"
],
"moduleNameMapper": {
"\\.(png|gif|jpe?g|svg)$": "<rootDir>/test/__mocks__/fileMock.js",
"\\.styl$": "identity-obj-proxy",
"react-styleguidist.+\\.jsx?$": "babel-jest",
"react-pdf/dist/entry.webpack.js": "react-pdf"
},
"globals": {
"__ALLOW_HTTP__": false,
"__TARGET__": "browser",
"cozy": {}
},
"testURL": "http://localhost/",
"snapshotSerializers": [
"enzyme-to-json/serializer"
]
}
}