-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
117 lines (117 loc) · 3.46 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
116
117
{
"private": true,
"name": "@tpr/monorepo",
"license": "MIT",
"scripts": {
"postinstall": "npx lerna exec -- npm install --package-lock=false",
"build": "npx lerna run prepare",
"postbuild": "npm run bundle",
"test": "jest",
"test:watch": "jest --watch",
"test:clean": "jest --no-cache",
"posttest": "yarn lint",
"lint": "prettier --list-different --write \"packages/*/src/**/*.{ts,tsx}\"",
"lint-fix": "prettier --write \"packages/*/src/**/*.{ts,tsx}\"",
"clean": "find . -name \"node_modules\" -exec rm -rf '{}' + && find . -name \"lib\" -exec rm -rf '{}' +",
"format": "pretty-quick --pattern \"./packages/**/*.*(js|ts|tsx)\"",
"bundle": "npx lerna exec --parallel -- yarn bundle",
"docz:dev": "docz dev",
"docz:build": "docz build",
"docz:serve": "docz build && docz serve",
"predeploy": "yarn build",
"deploy": "lerna publish"
},
"workspaces": [
"packages/*"
],
"dependencies": {
"@tpr/core": "file:./packages/core",
"@tpr/forms": "file:./packages/forms",
"@tpr/icons": "file:./packages/icons",
"@tpr/layout": "file:./packages/layout",
"@tpr/theming": "file:./packages/theming"
},
"devDependencies": {
"@babel/core": "^7.12.16",
"@babel/preset-env": "^7.12.16",
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-node-resolve": "^11.2.0",
"@testing-library/jest-dom": "^5.11.9",
"@testing-library/react": "^11.2.5",
"@testing-library/react-hooks": "^5.0.3",
"@testing-library/user-event": "^12.7.1",
"@types/jest": "^26.0.20",
"@types/jest-axe": "^3.5.1",
"@types/react": "^16.9.34",
"@types/react-dom": "^16.9.6",
"@xstate/react": "^1.2.2",
"autoprefixer": "^10.2.4",
"babel-jest": "^26.6.3",
"babel-loader": "^8.2.2",
"copyfiles": "^2.4.1",
"core-js": "^3.8.3",
"cross-env": "^7.0.3",
"docz": "^2.3.1",
"gatsby-plugin-sass": "^3.2.0",
"gatsby-theme-docz": "^2.3.1",
"govuk-frontend": "^3.14.0",
"husky": "^4.3.8",
"identity-obj-proxy": "^3.0.0",
"immutability-helper": "^3.1.1",
"jest": "^26.6.3",
"jest-axe": "^4.1.0",
"jest-junit": "^12.0.0",
"lerna": "^3.22.1",
"lerna-changelog": "^1.0.1",
"node-fetch": "^2.6.1",
"node-sass": "^5.0.0",
"npm-run-all": "^4.1.5",
"npm-upgrade": "^2.0.4",
"postcss": "^8.2.6",
"prettier": "^2.2.1",
"pretty-quick": "^3.1.0",
"react": "^16.14.0",
"react-docgen-typescript-loader": "^3.7.2",
"react-dom": "^16.14.0",
"react-helmet": "^6.1.0",
"react-router-dom": "^5.2.0",
"react-test-renderer": "^16.14.0",
"rimraf": "^3.0.2",
"rollup": "^2.39.0",
"rollup-plugin-ignore-import": "^1.3.2",
"rollup-plugin-local-resolve": "^1.0.7",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss": "^4.0.0",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.29.0",
"theme-ui": "^0.3.5",
"ts-jest": "^26.5.1",
"ts-loader": "^8.0.17",
"ts-node": "^9.1.1",
"tslib": "^2.1.0",
"typescript": "^4.1.5"
},
"resolutions": {
"@types/react": "16.9.35",
"jest-diff": "25.1.0",
"pretty-format": "25.1.0",
"react": "16.14.0",
"react-dom": "16.14.0",
"lodash": "4.17.21",
"hosted-git-info": "3.0.8",
"trim-newlines": "3.0.1"
},
"lint-staged": {
"*.{ts,tsx}": [
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"commit-msg": "git secrets --commit_msg_hook -- .git/COMMIT_EDITMSG && pwsh -NoProfile ./.githooks/Invoke-CommitMessageHook.ps1 .git/COMMIT_EDITMSG",
"pre-commit": "git secrets --pre_commit_hook && yarn format"
}
}
}