-
Notifications
You must be signed in to change notification settings - Fork 50
/
package.json
213 lines (213 loc) · 7.43 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
{
"version": "3.1.0",
"name": "@telus/tds-core",
"description": "TELUS Design System core components",
"homepage": "https://github.com/telus/tds-core",
"repository": {
"type": "git",
"url": "https://github.com/telus/tds-core.git"
},
"license": "MIT",
"private": true,
"scripts": {
"bootstrap": "npm ci && npm run gitbook:install && npx lerna bootstrap --hoist && npm run build -- --all",
"bootstrap:ci": "npm ci && npm run gitbook:install && npx lerna bootstrap --hoist && npm run build -- --all",
"bootstrap:quick": "npm ci && npx lerna bootstrap --hoist && npm run build -- --all",
"bootstrap:install": "npm i && npx lerna bootstrap --hoist && npm run build -- --all",
"build": "node scripts/build.js",
"build:e2e": "NODE_ENV=e2e webpack --config e2e/visual/webpack.config.js",
"build-docs:gitbook": "gitbook build guide",
"build-docs:styleguide": "styleguidist build --config config/styleguide.config.js",
"ci:build": "npm run build --all",
"ci:build-docs:styleguide-staging": "STYLEGUIDIST_ENV=staging npm run build-docs:styleguide",
"ci:build-docs:styleguide-production": "STYLEGUIDIST_ENV=production npm run build-docs:styleguide",
"ci:build-docs": "npm-run-all --parallel ci:build-docs:styleguide-* build-docs:gitbook",
"ci:test": "npm-run-all --parallel lint test",
"cz": "git-cz",
"cz:retry": "git-cz --retry",
"deploy:docs": "node ./scripts/deploy-docs.js",
"deploy:package": "scripts/publish.sh",
"contributors:update": "node scripts/update-contributors.js",
"dev": "styleguidist server --config config/styleguide.config.js",
"dev:e2e": "NODE_ENV=e2e webpack-dev-server --config e2e/visual/webpack.config.js",
"gitbook": "gitbook serve guide",
"gitbook:install": "gitbook install guide",
"lerna:publish": "node scripts/publish.js",
"lerna:cipublish": "npx lerna publish from-package --conventional-commits --yes",
"lint:js": "eslint packages shared config docs e2e scripts/*.js --ext '.js,.jsx' --config config/eslint.config.js --max-warnings 0 --fix",
"lint:css": "stylelint '{packages,shared}/**/*.jsx' --config config/stylelint.config.js",
"lint:ec": "echint",
"lint": "npm-run-all --parallel lint:*",
"intl:deps": "npm run updated",
"lint:md": "remark --quiet --frail .",
"intl:audit": "npm run audit",
"precommit": "lint-staged && npm run test",
"prepare": "npm run gitbook:install",
"prepr": "npm run test:e2e && scripts/prePr.sh",
"prepr:quick": "scripts/prePr.sh",
"scaffold": "node scripts/scaffold.js",
"test:e2e": "NODE_ENV=e2e node scripts/e2e.js",
"test:u": "npm run test -- -u",
"test:watch": "npm run test -- --watch",
"test:quick": "jest -o --config config/jest.config.js",
"test:lowmemory": "jest --config config/jest.config.js --runInBand",
"test": "jest --config config/jest.config.js --runInBand"
},
"keywords": [
"design",
"telus"
],
"engines": {
"node": ">=12"
},
"bugs": {
"url": "https://github.com/telus/tds-core/issues"
},
"devDependencies": {
"@babel/core": "^7.8.3",
"@babel/helper-compilation-targets": "^7.18.2",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-object-rest-spread": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.8.3",
"@babel/preset-env": "^7.8.3",
"@babel/preset-react": "^7.8.3",
"@babel/runtime": "^7.8.3",
"@commitlint/cli": "^7.2.1",
"@commitlint/config-conventional": "^7.1.2",
"@commitlint/config-lerna-scopes": "^7.2.1",
"@commitlint/prompt": "^7.5.0",
"@compositor/kit": "^1.0.47",
"@lerna/publish": "^3.20.2",
"@telus/eslint-config": "^2.0.1",
"@telus/remark-config": "^1.2.0",
"@vxna/mini-html-webpack-template": "^1.0.0",
"all-contributors-cli": "^6.9.3",
"autoprefixer": "^9.0.0",
"aws-sdk": "^2.114.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^25.0.0",
"babel-loader": "^8.0.0-beta.1",
"babel-plugin-styled-components": "^1.10.0",
"case": "^1.5.5",
"chalk": "^3.0.0",
"classnames": "^2.2.6",
"commitizen": "^4.0.0",
"css-loader": "^2.0.0",
"css-mediaquery": "^0.1.2",
"css-modules-loader-core": "^1.1.0",
"echint": "^4.0.2",
"editorconfig-checker": "^2.0.6",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-config-prettier": "^6.9.0",
"eslint-plugin-import": "^2.20.0",
"eslint-plugin-jest": "^23.6.0",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.18.0",
"eslint-plugin-react-hooks": "^2.3.0",
"gitbook-cli": "^2.3.2",
"html-loader": "^1.1.0",
"husky": "^4.0.0",
"identity-obj-proxy": "^3.0.0",
"install-group": "^3.0.0",
"jest": "^25.0.0",
"jest-environment-enzyme": "^7.0.2",
"jest-enzyme": "^7.0.0",
"jest-styled-components": "^7.0.0-2",
"lerna": "^3.20.2",
"lerna-update-wizard": "^0.11.1",
"lint-staged": "^10.0.0",
"mini-html-webpack-plugin": "^2.2.1",
"minimist": "^1.2.5",
"nightwatch": "^1.2.4",
"nightwatch-accessibility": "^1.8.0",
"node-emoji": "^1.8.1",
"node-resemble-js": "^0.2.0",
"npm-run-all": "^4.1.5",
"postcss": "^7.0.1",
"postcss-cli": "^6.0.0",
"postcss-loader": "^3.0.0",
"prettier": "^1.17.1",
"pumpify": "^2.0.1",
"react": "^16.8.5",
"react-dom": "^16.8.5",
"react-helmet": "^6.0.0",
"react-router-dom": "^5.1.2",
"react-styleguidist": "^10.6.1",
"react-test-renderer": "^16.0.0",
"remark-cli": "^7.0.0",
"request": "^2.87.0",
"rimraf": "^3.0.0",
"rollup": "^1.1.2",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-commonjs": "^9.2.0",
"rollup-plugin-node-resolve": "^4.0.0",
"rollup-plugin-postcss": "^2.0.3",
"s3-website": "^3.1.2",
"style-loader": "^1.0.0",
"styled-components": "^4.1.3",
"stylelint": "^13.0.0",
"stylelint-config-recommended": "^2.2.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-processor-styled-components": "^1.8.0",
"updated": "^1.3.0",
"url-loader": "^3.0.0",
"webpack": "^4.40.2",
"webpack-cli": "^3.3.9",
"webpack-dev-server": "^3.8.1",
"webpack-import-glob-loader": "^1.6.3",
"yargs": "^13.0.0"
},
"dependencies": {
"prop-types": "^15.5.10"
},
"config": {
"commitizen": {
"path": "@commitlint/prompt"
}
},
"prettier": {
"printWidth": 100,
"semi": false,
"singleQuote": true,
"trailingComma": "es5",
"bracketSpacing": true
},
"lint-staged": {
"*.{js,jsx}": [
"eslint --ext '.js,.jsx' --config config/eslint.config.js --quiet --fix",
"git add"
],
"*.md": [
"remark --quiet --frail .",
"prettier --write",
"git add"
],
"ignore": "**/*.{png,jpeg,jpg}"
},
"echint": {
"ignore": [
"package-lock.json",
"**/node_modules/**",
"**/package-lock.json",
"**/dist/**",
"**/**.{svg,log,png,mp4,tgz,vtt,fig}",
"**/__snapshots__/**",
"guide/components/**",
"guide/_book/**",
"build/**",
"styleguide/**",
"**/reports/*.xml"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -e $HUSKY_GIT_PARAMS && node ./scripts/commit-scope-lint.js -m $HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged && npm run test:quick",
"pre-push": "npm run ci:build && npm-run-all --parallel test lint build-docs:*"
}
}
}