-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
115 lines (115 loc) · 3.58 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
{
"name": "react-fixxx-looplijsten-frontend",
"version": "2.7.0",
"private": true,
"dependencies": {
"@amsterdam/amsterdam-react-final-form": "^0.1.116",
"@amsterdam/asc-assets": "^0.28.0",
"@amsterdam/asc-ui": "^0.28.0",
"@amsterdam/scaffold-form": "^0.1.35",
"@reach/router": "^1.3.4",
"@sentry/browser": "^6.2.2",
"@testing-library/jest-dom": "^5.11.9",
"@testing-library/react": "^11.2.5",
"@testing-library/user-event": "^12.8.3",
"@types/dompurify": "^2.2.1",
"@types/jest": "^26.0.20",
"@types/lodash": "^4.14.168",
"@types/node": "^14.14.33",
"@types/qs": "^6.9.6",
"@types/reach__router": "^1.3.7",
"@types/react": "^17.0.3",
"@types/react-beautiful-dnd": "^13.0.0",
"@types/react-dom": "^17.0.2",
"@types/smoothscroll-polyfill": "^0.3.1",
"@types/styled-components": "^5.1.8",
"axios": "^0.21.1",
"dompurify": "^2.2.6",
"env-cmd": "^10.1.0",
"immer": "^8.0.1",
"jwt-decode": "^3.1.2",
"keycloak-js": "^12.0.4",
"lodash.difference": "^4.5.0",
"lodash.isequal": "^4.5.0",
"qs": "^6.9.6",
"react": "^17.0.1",
"react-beautiful-dnd": "^13.0.0",
"react-dom": "^16.14.0",
"react-scripts": "^4.0.3",
"resize-observer-polyfill": "^1.5.1",
"slash-sandwich": "^1.0.12",
"smoothscroll-polyfill": "^0.4.4",
"styled-components": "^5.2.1",
"typescript": "^4.2.3"
},
"scripts": {
"start": "react-scripts start",
"start:local": "env-cmd -f .env.development_local react-scripts start",
"build": "react-scripts build",
"build:acc": "env-cmd -f .env.acceptance react-scripts build",
"test": "react-scripts test --watchAll=false",
"test:ci": "CI=true npm run test",
"lint": "eslint --cache --ext .ts,.tsx src",
"lint:fix": "npm run lint -- --fix",
"lint:quiet": "npm run lint -- --quiet",
"storybook": "start-storybook -p 9009 -s public",
"storybook:build": "build-storybook -s public",
"swagger:generate-schema:local": "dtsgen -o ./src/__generated__/apiSchema.d.ts --url http://localhost:8000/api/v1/schema/",
"swagger:generate-schema:acc": "dtsgen -o ./src/__generated__/apiSchema.d.ts --url https://acc.api.top.amsterdam.nl/api/v1/schema/",
"swagger:generate-schema": "dtsgen -o ./src/__generated__/apiSchema.d.ts --url https://api.top.amsterdam.nl/api/v1/schema/",
"deploy:acc": "git push origin master",
"deploy:prod": "npm version patch && git push origin HEAD --follow-tags"
},
"eslintConfig": {
"extends": "react-app",
"overrides": [
{
"files": [
"src/**/*.stories.js"
],
"rules": {
"import/no-anonymous-default-export": "off"
}
}
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@babel/core": "^7.13.10",
"@storybook/addon-knobs": "^6.1.21",
"@storybook/preset-create-react-app": "^3.1.7",
"@storybook/react": "^6.1.21",
"@testing-library/react-hooks": "^5.1.0",
"@types/enzyme": "^3.10.8",
"@types/enzyme-adapter-react-16": "^1.0.6",
"dtsgenerator": "^3.7.1",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"husky": "^3.1.0",
"lint-staged": "^10.5.4",
"nock": "^13.0.11",
"storybook": "^6.1.21"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm test"
}
},
"lint-staged": {
"**/*.ts?(x)": [
"npm run lint:fix"
]
}
}