forked from cozy/cozy-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
211 lines (211 loc) · 8 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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
{
"name": "cozy-ui",
"version": "45.0.0-beta.3",
"description": "Cozy apps UI SDK",
"main": "./index.js",
"bin": {
"rsg-screenshots": "./scripts/screenshots.js"
},
"repository": {
"type": "git",
"url": "https://github.com/cozy/cozy-ui.git"
},
"author": "Cozy Cloud <contact@cozycloud.cc> (http://cozycloud.cc)",
"license": "MIT",
"bugs": {
"url": "https://github.com/cozy/cozy-ui/issues"
},
"homepage": "https://github.com/cozy/cozy-ui",
"scripts": {
"argos:upload": "argos upload",
"stylus-build": "stylus -c --include stylus --use ./node_modules/autoprefixer-stylus",
"build:css:all": "yarn build:css && yarn build:css:utils && yarn run removeEmptyCss",
"build:css": "env CSSMODULES=false yarn run stylus-build -o dist/cozy-ui.min.css stylus/cozy-ui/build.styl",
"build:css:utils": "env CSSMODULES=false yarn run stylus-build -o dist/cozy-ui.utils.min.css stylus/cozy-ui/utils.styl",
"build:css:kss": "env CSSMODULES=false yarn run stylus-build -o build/styleguide/app.css stylus/cozy-ui/build.styl",
"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 stylus/styleguide.md --css app.css",
"build:doc:react": "styleguidist build --config docs/styleguide.config.js",
"build:types": "tsc -p tsconfig-build.json",
"build:all": "yarn makeSpriteAndPalette && yarn build && yarn build:css:all && yarn build:doc",
"build:js": "env BABEL_ENV=transpilation babel --extensions .ts,.tsx,.js,.jsx,.md,.styl,.json,.snap react/ --out-dir transpiled/react --copy-files --no-copy-ignored --verbose",
"build": "yarn build:types && yarn build:js",
"clean:doc:kss": "rm -rf build/styleguide",
"deploy:doc": "git-directory-deploy --directory build/ --branch gh-pages",
"makeSvgr": "scripts/generate-svgr-icon.sh",
"lint": "npm-run-all 'lint:*'",
"lint:js": "eslint 'react/**/*.jsx' 'react/**/*.js' 'react/**/*.ts' 'docs/styleguide.config.js'",
"lint:stylus": "stylint stylus --config .stylintrc",
"lint:md": "remark . -o -S",
"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:utils": "mkdir -p dist/",
"prebuild:css:kss": "mkdir -p build/styleguide && stylus -C node_modules/normalize.css/normalize.css node_modules/normalize.css/normalize.styl",
"prebuild:doc:kss": "run-s clean:doc:kss build:css:kss",
"makeSpriteAndPalette": "npm-run-all --parallel sprite palette",
"semantic-release": "semantic-release",
"sprite": "scripts/make-icon-sprite.sh",
"screenshots": "node scripts/screenshots.js --screenshot-dir ./screenshots --styleguide-url file://$(pwd)/build/react --kss-dir ./build/styleguide",
"test": "jest",
"test:noSnapshots": "jest --testPathIgnorePatterns 'react/examples.spec.jsx'",
"test:snapshots": "jest react/examples.spec.jsx",
"test:snapshots:update": "jest react/examples.spec.jsx -u",
"screenshots:server": "nodemon ./scripts/pixelmatch-server/server.js -e js,hbs",
"postbuild": "postcss transpiled/react/stylesheet.css --replace",
"travis-deploy-once": "travis-deploy-once",
"start:css": "yarn build:css --watch",
"prestart:doc": "yarn sprite",
"start:doc": "env BUILD_ENV=watch-styleguidist styleguidist server --config docs/styleguide.config.js",
"start:doc:kss": "nodemon --ext styl,md --watch stylus --exec 'yarn build:doc:kss && http-server build/styleguide -p 4242'",
"start": "yarn build --watch",
"removeEmptyCss": "node scripts/removeEmptyCss.js",
"optimizeIcons": "svgo -r --folder assets/icons"
},
"types": "dist/index.d.ts",
"sideEffects": [
"*.css",
"intersection-observer"
],
"devDependencies": {
"@argos-ci/cli": "1.0.4",
"@babel/cli": "7.17.6",
"@babel/core": "7.17.8",
"@babel/helper-builder-react-jsx": "7.16.7",
"@babel/helper-define-map": "7.16.7",
"@babel/helper-regex": "7.10.5",
"@cozy/codemods": "^1.9.0",
"@cozy/minilog": "^1.0.0",
"@semantic-release/changelog": "6.0.1",
"@semantic-release/git": "7.0.18",
"@semantic-release/npm": "9.0.1",
"@svgr/cli": "^5.4.0",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "11.2.7",
"@testing-library/react-hooks": "^3.2.1",
"@testing-library/user-event": "^14.4.2",
"autoprefixer-stylus": "1.0.0",
"babel-loader": "8.2.4",
"babel-plugin-css-modules-transform": "1.6.2",
"babel-plugin-inline-json-import": "0.3.2",
"babel-preset-cozy-app": "2.0.2",
"browserslist-config-cozy": "0.4.0",
"copyfiles": "2.4.1",
"cozy-client": "^47.6.0",
"cozy-device-helper": "2.0.0",
"cozy-flags": "^2.10.1",
"cozy-harvest-lib": "^6.7.3",
"cozy-intent": "1.16.1",
"cozy-logger": "^1.9.0",
"cozy-sharing": "^14.1.0",
"cozy-stack-client": "^47.4.0",
"css-loader": "0.28.11",
"cssnano": "4.1.11",
"cssnano-preset-advanced": "4.0.8",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.6",
"enzyme-to-json": "3.6.2",
"eslint": "8.11.0",
"eslint-config-cozy-app": "4.0.0",
"eslint-plugin-prettier": "^4.0.0",
"express": "^4.17.1",
"focus-trap-react": "^6.0.0",
"git-directory-deploy": "1.5.1",
"handlebars": "^4.7.6",
"http-server": "0.13.0",
"identity-obj-proxy": "3.0.0",
"jest-canvas-mock": "2.3.1",
"jest-cli": "^26.6.3",
"kss": "3.0.1",
"kss-webpack-plugin": "1.5.0",
"livereload": "^0.9.1",
"lodash": "4.17.21",
"michelangelo": "https://github.com/cozy/michelangelo.git",
"mini-css-extract-plugin": "0.6.0",
"nodemon": "1.19.4",
"npm-run-all": "4.1.5",
"postcss-cli": "6.1.3",
"postcss-loader": "2.1.6",
"pretty": "2.0.0",
"prop-types": "15.7.2",
"puppeteer": "21.6.1",
"react": "16.12.0",
"react-dom": "16.12.0",
"react-hot-loader": "^4.3.11",
"react-redux": "7.2.7",
"react-styleguidist": "10.6.2",
"react-test-renderer": "16.12.0",
"redux": "3.7.2",
"redux-mock-store": "^1.5.4",
"remark-cli": "^8.0.1",
"remark-jscodeshift": "^1.1.0",
"remark-preset-lint-recommended": "^4.0.1",
"replace-in-file": "^6.2.0",
"semantic-release": "19.0.5",
"style-loader": "0.23.1",
"stylint": "1.5.9",
"stylus": "0.56.0",
"stylus-loader": "3.0.2",
"svg-sprite-loader": "4.1.6",
"svgo": "2.8.0",
"svgstore-cli": "1.3.2",
"url-loader": "1.1.2",
"webpack": "4.39.3"
},
"dependencies": {
"@babel/runtime": "^7.3.4",
"@material-ui/core": "4.12.3",
"@material-ui/lab": "^4.0.0-alpha.61",
"@popperjs/core": "^2.4.4",
"bundlemon": "^1.3.2",
"chart.js": "3.7.1",
"classnames": "^2.2.5",
"cozy-interapp": "^0.5.4",
"date-fns": "^1.28.5",
"filesize": "8.0.7",
"hammerjs": "^2.0.8",
"intersection-observer": "0.11.0",
"mime-types": "2.1.35",
"mui-bottom-sheet": "https://github.com/cozy/mui-bottom-sheet.git#v1.0.9",
"node-polyglot": "^2.5.0",
"normalize.css": "^8.0.0",
"pdf-lib": "1.17.1",
"piwik-react-router": "0.12.1",
"react-chartjs-2": "4.1.0",
"react-markdown": "^4.0.8",
"react-pdf": "^5.7.2",
"react-popper": "^2.2.3",
"react-remove-scroll": "^2.4.0",
"react-select": "^4.3.0",
"react-swipeable-views": "^0.13.3",
"rooks": "^5.11.2"
},
"peerDependencies": {
"cozy-client": ">=47.6.0",
"cozy-device-helper": "^2.0.0",
"cozy-harvest-lib": "^6.7.3",
"cozy-intent": ">=1.3.0",
"cozy-sharing": ">=14.1.0",
"puppeteer": "^1.20.0",
"react": "^16.8.6",
"react-dom": "^16.8.6"
},
"peerDependenciesMeta ": {
"puppeteer": {
"optional": true
}
},
"eslintConfig": {
"extends": [
"eslint-config-cozy-app"
]
},
"commitlint": {
"extends": [
"cozy"
]
},
"browserslist": [
"extends browserslist-config-cozy"
]
}