-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
113 lines (113 loc) · 3.68 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
{
"name": "anatomy-docs",
"version": "5.6.1",
"private": true,
"dependencies": {
"@boston-scientific/anatomy-react": "^3.0.0-beta.2",
"@boston-scientific/anatomy-tokens": "^5.0.0-beta.19",
"@floating-ui/react-dom": "^1.0.0",
"algoliasearch": "^4.14.2",
"axios": "^1.2.2",
"d3": "^7.8.5",
"dompurify": "^2.3.8",
"marked": "^4.0.17",
"mongodb": "^6.3.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-helmet": "^6.1.0",
"react-router-dom": "^6.3.0",
"sass": "^1.53.0",
"web-vitals": "^1.1.2"
},
"scripts": {
"start": "npm run pre && react-scripts start",
"build": "npm run sitemap && npm run pre && CI=false react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"generate-types": "graphql-codegen --config codegen.yml --require dotenv/config",
"pre": "npm run generate-types && npm run release-date && node src/utils/updateTokensVersion.js",
"version": "npm run sitemap && git add .",
"cypress:open": "cypress open",
"cypress:run": "cypress run",
"sitemap": "node src/utils/generateSitemap.js",
"stylelint:check": "stylelint-config-prettier-scss-check",
"release-date": "echo \"// This file is automatically updated on release\nexport const releaseDate = new Date('$(date)');\" > ./src/utils/release-date.ts",
"lint:styles": "stylelint \"**/*.scss\"",
"fix:styles": "stylelint --fix \"**/*.scss\"",
"lint:scripts": "eslint .",
"fix:scripts": "eslint --fix .",
"format:check": "prettier --check .",
"format:write": "prettier --write .",
"lint:all": "npm run lint:styles && npm run lint:scripts && npm run format:check",
"prepare": "husky install"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@apollo/client": "^3.6.9",
"@boston-scientific/eslint-config": "^0.0.3",
"@boston-scientific/prettier-config": "^1.0.1",
"@boston-scientific/stylelint-config": "^1.1.0",
"@graphql-codegen/cli": "^2.7.0",
"@graphql-codegen/schema-ast": "^2.4.1",
"@graphql-codegen/typescript": "^2.6.0",
"@graphql-codegen/typescript-operations": "^2.4.3",
"@graphql-codegen/typescript-react-apollo": "^3.2.17",
"@netlify/functions": "^2.4.1",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.3.0",
"@testing-library/user-event": "^14.2.1",
"@types/d3": "^7.4.3",
"@types/dompurify": "^2.3.3",
"@types/jest": "^28.1.4",
"@types/marked": "^4.0.3",
"@types/node": "^18.0.1",
"@types/react": "^18.0.14",
"@types/react-dom": "^18.0.6",
"@types/react-helmet": "^6.1.5",
"@types/react-router": "^5.1.18",
"@types/react-router-dom": "^5.3.3",
"axe-core": "^4.4.2",
"contentful": "^9.2.5",
"cypress": "^10.3.0",
"cypress-axe": "^1.0.0",
"cypress-real-events": "^1.7.1",
"dotenv": "^10.0.0",
"eslint": "^8.26.0",
"fs": "^0.0.1-security",
"graphql": "^16.5.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.0",
"prettier": "^3.0.2",
"react-scripts": "^5.0.1",
"sitemap": "^7.1.1",
"stylelint": "^14.15.0",
"typescript": "^4.8.4"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,json,html,css,scss}": "prettier --write",
"*.{js,jsx,ts,tsx}": "eslint --cache --fix",
"*.{css,scss}": "stylelint --fix"
},
"prettier": "@boston-scientific/prettier-config",
"stylelint": {
"extends": [
"@boston-scientific/stylelint-config"
]
},
"eslintConfig": {
"extends": [
"@boston-scientific/eslint-config"
]
}
}