-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.json
80 lines (80 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
69
70
71
72
73
74
75
76
77
78
79
80
{
"devDependencies": {
"@emotion/babel-preset-css-prop": "^11.11.0",
"@rollup/plugin-dsv": "^3.0.2",
"@types/react": "^18.2.8",
"@types/react-dom": "^18.2.4",
"@vitejs/plugin-react": "^4.0.0",
"archieml": "^0.5.0",
"chai": "^4.3.7",
"dotenv": "^16.3.1",
"eslint": "^8.41.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.8.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"googleapis": "^144.0.0",
"husky": "^8.0.3",
"jsdom": "^22.1.0",
"lint-staged": "^15.2.7",
"mocha": "^10.2.0",
"pa11y": "^6.2.3",
"prettier": "^2.8.8",
"prop-types": "^15.8.1",
"sass": "^1.62.1",
"vike": "^0.4.193",
"vike-react": "^0.5.5",
"vite": "^5.4.2"
},
"volta": {
"node": "20.11.1",
"npm": "10.2.4"
},
"optionalDependencies": {
"@financial-times/g-deploy": "^4.0.1",
"@financial-times/vvc": "github:financial-times/visual-vocabulary-components#prerelease"
},
"private": true,
"scripts": {
"data": "node util/getData.js",
"build": "vite build --mode=development",
"build:preview": "vite build --mode preview",
"build:prod": "vite build --mode production",
"a11y": "pa11y ./dist/client/index.html",
"a11y:local": "pa11y localhost:8080",
"deploy": "g-deploy ./dist/client",
"test": "mocha ./test/**/*.spec.cjs",
"start": "vite --port 8080",
"preview": "NODE_ENV=production npm run build && vite preview",
"lint": "eslint app/**/*.js test/**/*.js",
"lint:fix": "eslint --fix app/**/*.js test/**/*.js",
"prepare": "husky install"
},
"dependencies": {
"@financial-times/g-components": "^11.2.0",
"@financial-times/o-colors": "^6.6.0",
"@financial-times/o-grid": "^6.1.5",
"@ft-interactive/vs-components": "^8.0.2",
"classnames": "^2.3.2",
"ftdomdelegate": "^5.0.0",
"react": "^18.1.0",
"react-dom": "^18.1.0"
},
"_ssrBrowserAllowList": [
"@financial-times/o-toggle",
"@financial-times/o-overlay",
"@financial-times/o-grid",
"@financial-times/o-viewport",
"ftdomdelegate"
],
"lint-staged": {
"*.js": [
"prettier --write",
"eslint --fix"
]
},
"type": "module"
}