forked from Financial-Times/x-dash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
89 lines (89 loc) · 2.63 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
{
"name": "x-dash",
"private": true,
"volta": {
"node": "20.11.0"
},
"scripts": {
"clean": "git clean -fxdi",
"build": "npm run build --workspaces --if-present",
"jest": "jest -c jest.config.js",
"update-snapshots": "jest -c jest.config.js --updateSnapshot",
"test": "npm run lint && npm run jest",
"e2e": "NODE_OPTIONS='--openssl-legacy-provider' npm test -w e2e",
"lint": "eslint . --ext=js,jsx",
"blueprint": "node private/scripts/blueprint.js",
"start-storybook": "start-storybook -p ${STORYBOOK_PORT:-9001} -s .storybook/static -h local.ft.com",
"start-storybook:ci": "start-storybook -p ${STORYBOOK_PORT:-9001} -s .storybook/static -h local.ft.com --ci --smoke-test",
"deploy-storybook:ci": "storybook-to-ghpages --ci --source-branch=main",
"heroku-postbuild": "npm install && npm run build",
"prepare": "npx snyk protect || npx snyk protect -d || true"
},
"lint-staged": {
"**/*.{ts,tsx,js,jsx}": [
"prettier --write",
"eslint --fix"
]
},
"storybook-deployer": {
"gitUsername": "next-team",
"gitEmail": "[email protected]",
"commitMessage": "Deploy Storybook [skip ci]"
},
"devDependencies": {
"@babel/core": "^7.17.4",
"@dotcom-reliability-kit/eslint-config": "^2.0.1",
"@financial-times/athloi": "^1.0.0-beta.26",
"@financial-times/eslint-config-next": "^7.1.0",
"@storybook/addon-essentials": "^6.2.9",
"@storybook/react": "^6.2.9",
"@storybook/storybook-deployer": "^2.8.8",
"@types/jest": "26.0.0",
"@typescript-eslint/parser": "^5.60.1",
"babel-loader": "^8.2.3",
"check-engine": "^1.10.1",
"copy-webpack-plugin": "^5.0.2",
"core-js": "^3.7.0",
"eslint": "^8.43.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-jest": "^27.2.2",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.32.2",
"fetch-mock": "^7.3.3",
"husky": "^4.0.0",
"jest": "^24.8.0",
"lint-staged": "^10.0.0",
"node-fetch": "^2.3.0",
"prettier": "^2.0.2",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-helmet": "^5.2.0",
"react-test-renderer": "^16.8.6",
"sass": "^1.49.0",
"sass-loader": "^10.2.1",
"snyk": "^1.168.0",
"style-loader": "^0.23.1",
"typescript": "^3.9.5",
"write-file-webpack-plugin": "^4.5.0"
},
"x-dash": {
"engine": {
"browser": "react",
"server": "react"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"workspaces": [
"components/*",
"packages/*",
"e2e"
],
"engines": {
"node": "16.x || 18.x || 20.x",
"npm": "7.x || 8.x || 9.x || 10.x"
}
}