forked from dataesr/react-dsfr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
116 lines (116 loc) · 3.35 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
{
"name": "@dataesr/react-dsfr",
"version": "2.3.1",
"private": false,
"description": "A React implementation of the french government design system.",
"license": "MIT",
"repository": "dataesr/react-dsfr",
"main": "dist/index.min.cjs.js",
"source": "src/index.js",
"types": "dist/index.d.ts",
"keywords": [
"react",
"components",
"design-system",
"gouvfr"
],
"engines": {
"node": ">=14"
},
"dependencies": {
"@babel/runtime": "^7.16.3",
"@gouvfr/dsfr": "1.5.0",
"classnames": "^2.3.1",
"html-react-parser": "^1.4.0",
"prop-types": "^15.7.2",
"uuid": "^8.3.2"
},
"devDependencies": {
"@axe-core/react": "^4.3.1",
"@babel/cli": "^7.16.0",
"@babel/core": "^7.16.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.0",
"@babel/plugin-transform-runtime": "^7.16.4",
"@babel/preset-env": "^7.16.4",
"@babel/preset-react": "^7.16.0",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-eslint": "^8.0.1",
"@rollup/plugin-image": "^2.1.1",
"@rollup/plugin-node-resolve": "^13.0.6",
"@svgr/rollup": "^6.1.2",
"@testing-library/jest-dom": "^5.15.1",
"@testing-library/react": "^12.1.2",
"@testing-library/user-event": "^13.5.0",
"@types/react": "^17.0.39",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.5",
"babel-core": "^6.26.3",
"babel-eslint": "^10.0.3",
"babel-preset-env": "^1.7.0",
"babel-preset-react": "^6.24.1",
"cross-env": "^7.0.3",
"css-loader": "^5.2.7",
"enzyme": "^3.11.0",
"eslint": "^7.32.0",
"eslint-config-airbnb": "^19.0.1",
"eslint-config-react-app": "^6.0.0",
"gh-pages": "^3.2.3",
"install": "^0.13.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-router-dom": "^5.2.0",
"react-scripts": "4.0.3",
"react-styleguidist": "^11.1.7",
"react-test-renderer": "^17.0.2",
"rollup": "^2.60.1",
"rollup-plugin-dts": "^4.0.1",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-visualizer": "^5.5.2",
"typescript": "^4.5.5"
},
"peerDependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"scripts": {
"build": "rollup -c",
"deploy": "gh-pages -d build -r https://[email protected]/dataesr/react-dsfr.git",
"guide": "npx styleguidist server",
"predeploy": "styleguidist build",
"start": "rollup -c --watch",
"test": "run-s test:unit test:lint test:build",
"test:build": "run-s build",
"test:coverage": "CI=true npm test -- --coverage",
"test:dev": "react-scripts test --watchAll",
"test:dev:coverage": "react-scripts test --watchAll --coverage",
"test:debug": "react-scripts --inspect test --runInBand --no-cache",
"test:lint": "eslint .",
"test:nowatch": "react-scripts test --watchAll=false",
"test:unit": "cross-env CI=1 react-scripts test --env=jsdom",
"test:watch": "react-scripts test --env=jsdom"
},
"files": [
"dist"
],
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}