-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
68 lines (68 loc) · 2.32 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
{
"name": "@ons/design-system-react",
"description": "React version of the ONS Design System",
"version": "0.0.3",
"type": "module",
"main": "index.js",
"license": "MIT",
"author": {
"name": "ONS Digital"
},
"scripts": {
"build": "export NODE_ENV=production; yarn clean && yarn build:examples && yarn build:docs && yarn build:styles",
"build:docs": "typedoc --entryPoints src/index.ts --json ./dist/docs.json",
"build:examples": "yarn build:examples:refresh && rollup -c rollup.config.examples.js",
"build:examples:refresh": "ts-node ./scripts/refresh-example-components",
"build:styles": "ts-node ./scripts/build-styles",
"build-static-preview": "export NODE_ENV=production; yarn clean && yarn build:examples && yarn build:styles && ts-node ./scripts/build-static-preview",
"build-package": "export NODE_ENV=production; rm -rf build && yarn build && mv dist build",
"clean": "rm -rf dist",
"start": "yarn build:styles && yarn build:examples && yarn start:dev-server",
"start:dev-server": "ts-node ./lib/dev-server",
"test": "jest"
},
"browserslist": [
"last 2 versions",
"not ie < 11",
"not ie_mob < 11",
"iOS >= 10.3",
"safari >= 12"
],
"devDependencies": {
"@ons/design-system": "git+https://github.com/ONSdigital/design-system#61.0.4",
"@rollup/plugin-commonjs": "^24.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-replace": "^5.0.2",
"@rollup/plugin-terser": "^0.3.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@types/cors": "^2.8.13",
"@types/express": "^4.17.16",
"@types/fs-extra": "^11.0.1",
"@types/glob": "^8.0.1",
"@types/jest": "^29.4.0",
"@types/node": "^18.11.18",
"@types/react": "^18.0.27",
"@types/react-dom": "^18.0.10",
"autoprefixer": "^10.4.13",
"cors": "^2.8.5",
"express": "^4.18.2",
"fs-extra": "^11.1.0",
"glob": "^8.1.0",
"jest": "^29.4.1",
"jest-environment-jsdom": "^29.4.1",
"postcss": "^8.4.21",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rollup": "^3.10.0",
"rollup-plugin-typescript2": "^0.34.1",
"sass": "^1.57.1",
"ts-jest": "^29.0.5",
"ts-node": "^10.9.1",
"typedoc": "^0.23.24",
"typescript": "^4.9.4"
},
"dependencies": {
"classnames": "^2.3.2"
}
}