-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpackage.json
95 lines (95 loc) · 3.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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"private": true,
"workspaces": [
"packages/*",
"stories"
],
"scripts": {
"build": "npm run clean:generated && npm run build:ts && npm run build:ts:es",
"build:watch": "npm run clean:generated && concurrently \"npm run build:ts -- --watch\" \"npm run build:ts:es -- --watch\"",
"build:storybook": "npm run build --workspace=stories",
"build:ts": "tsc -b packages/asc-assets packages/asc-ui",
"build:ts:es": "tsc -b packages/asc-assets/tsconfig.es.json packages/asc-ui/tsconfig.es.json",
"build:netlify": "npm run build && npm run build:storybook",
"clean:generated": "rimraf ./packages/*/*.tsbuildinfo",
"lint": "concurrently \"npm run lint:css\" \"npm run lint:js\"",
"lint:css": "stylelint \"./packages/**/*Style.ts\"",
"lint:js": "eslint ./ --ext js,mdx,ts,tsx",
"prebuild": "npm run build --workspace=@amsterdam/asc-assets",
"prepare": "husky install",
"publish:canary": "npm run build && lerna publish -c --yes",
"publish:stable": "npm run build && lerna publish",
"start": "concurrently \"npm run build:watch\" \"npm run storybook\"",
"storybook": "npm run start --workspace=stories",
"stylelint": "stylelint \"./packages/**/*Style.ts\"",
"test": "jest --collect-coverage",
"test:watch": "jest --watch --onlyChanged --verbose true"
},
"devDependencies": {
"@babel/core": "^7.19.3",
"@stylelint/postcss-css-in-js": "^0.38.0",
"@svgr/webpack": "^6.4.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^12.1.5",
"@testing-library/react-hooks": "^8.0.0",
"@types/babel__core": "^7.1.14",
"@types/eslint": "^8.2.1",
"@types/eslint-plugin-prettier": "^3.1.0",
"@types/jest": "^28.1.6",
"@types/node": "^18.8.1",
"@types/react": "^17.0.11",
"@types/react-dom": "^17.0.8",
"@types/styled-components": "^5.1.10",
"@types/svgo": "^2.6.4",
"@typescript-eslint/eslint-plugin": "^5.39.0",
"@typescript-eslint/parser": "^5.39.0",
"concurrently": "^7.4.0",
"cross-env": "^7.0.3",
"eslint": "^8.14.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jest": "^27.1.0",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-mdx": "^2.0.5",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.31.8",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^8.0.1",
"hygen": "^6.2.11",
"jest": "^28.1.0",
"jest-cli": "^29.1.2",
"jest-environment-jsdom": "^29.1.2",
"jest-styled-components": "^7.1.1",
"lerna": "^5.5.4",
"lint-staged": "^13.0.3",
"postcss-syntax": "^0.36.2",
"prettier": "^2.7.1",
"prettier-package-json": "^2.6.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"rimraf": "^3.0.2",
"styled-components": "^5.3.0",
"stylelint": "^14.8.0",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-standard": "^26.0.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-prettier": "^2.0.0",
"stylelint-processor-styled-components": "^1.10.0",
"ts-jest": "^28.0.2",
"typescript": "^4.8.4"
},
"engines": {
"node": "^16"
},
"lint-staged": {
"*.{ts,tsx,mdx,js}": [
"prettier --write",
"eslint",
"git add"
],
"*Style.ts": [
"stylelint"
]
}
}