-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
206 lines (206 loc) · 7.03 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
{
"name": "tds-community",
"version": "1.1.0",
"description": "The TELUS Design System community featuring shared React components",
"main": "n/a",
"repository": "[email protected]:telusdigital/tds-community.git",
"author": "TELUS digital",
"license": "MIT",
"private": true,
"scripts": {
"clean": "lerna exec -- rm -rf dist && lerna clean --yes && rm -rf node_modules && rm -rf .out",
"bootstrap": "npm ci && npx lerna bootstrap --hoist && npm run build -- --all",
"build": "node scripts/build.js",
"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-*",
"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-direct": "npm rebuild node-sass && STYLEGUIDIST_ENV=e2e styleguidist server --config config/styleguide.config.js",
"lerna:publish": "node scripts/publish.js",
"lerna:cipublish": "npx lerna publish from-package --conventional-commits --yes",
"lint:js": "eslint packages shared config docs scripts/*.js --ext '.js,.jsx' --config config/eslint.config.js --max-warnings 0 --fix",
"lint:scss": "stylelint '{packages,shared}/**/*.scss' --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",
"prepr": "npm run test:e2e && scripts/prePr.sh",
"prepr:quick": "scripts/prePr.sh",
"scaffold": "node scripts/scaffold.js",
"test:e2e-direct": "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": "jest --config config/jest.config.js"
},
"engines": {
"node": ">=12",
"npm": ">=6"
},
"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/plugin-proposal-class-properties": "^7.2.3",
"@babel/plugin-proposal-object-rest-spread": "^7.4.4",
"@babel/plugin-transform-runtime": "^7.4.4",
"@babel/preset-env": "^7.2.3",
"@babel/preset-react": "^7.0.0",
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@commitlint/config-lerna-scopes": "^8.3.4",
"@commitlint/prompt": "^8.3.5",
"@lerna/publish": "^3.14.1",
"@tds/core-box": "^2.1.3",
"@tds/core-button": "^3.2.4",
"@tds/core-card": "^2.3.4",
"@tds/core-chevron-link": "^2.1.16",
"@tds/core-colours": "^2.2.1",
"@tds/core-css-reset": "^2.0.5",
"@tds/core-dimple-divider": "^2.0.16",
"@tds/core-flex-grid": "^4.0.1",
"@tds/core-hairline-divider": "^2.0.13",
"@tds/core-heading": "^3.0.4",
"@tds/core-image": "^2.0.20",
"@tds/core-input": "^3.0.34",
"@tds/core-link": "^2.2.5",
"@tds/core-ordered-list": "^3.0.17",
"@tds/core-paragraph": "^2.0.12",
"@tds/core-responsive": "^1.3.3",
"@tds/core-responsive-image": "^1.0.0",
"@tds/core-spinner": "^3.1.11",
"@tds/core-strong": "^2.1.10",
"@tds/core-text": "^3.1.1",
"@tds/core-unordered-list": "^3.0.21",
"@tds/core-web-video": "^1.1.20",
"@telus/eslint-config": "^3.3.2",
"@telus/remark-config": "^1.2.0",
"all-contributors-cli": "^4.11.1",
"autoprefixer": "^8.3.0",
"aws-sdk": "^2.230.1",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.0.0",
"babel-loader": "^8.0.0",
"babel-plugin-styled-components": "^1.10.2",
"babel-polyfill": "^6.26.0",
"case": "^1.5.4",
"chromedriver": "^76.0.0",
"commitizen": "^4.2.3",
"css-mediaquery": "^0.1.2",
"css-modules-loader-core": "^1.1.0",
"echint": "^4.0.1",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^5.0.0",
"eslint-config-prettier": "^3.3.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jest": "^22.0.0",
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-prettier": "^3.0.0",
"eslint-plugin-react": "^7.7.0",
"husky": "^1.0.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^24.0.0",
"jest-environment-enzyme": "^7.0.0",
"jest-enzyme": "^7.0.0",
"jest-styled-components": "^7.0.0-2",
"lerna": "^3.14.1",
"lerna-update-wizard": "^0.11.1",
"lint-staged": "^7.0.4",
"minimist": "^1.2.5",
"mkdirp": "^0.5.1",
"moment": "^2.24.0",
"nightwatch": "^1.7.11",
"nightwatch-accessibility": "^1.6.0",
"node-emoji": "^1.8.1",
"node-resemble-js": "^0.2.0",
"node-sass": "^4.14.1",
"node-sass-tilde-importer": "^1.0.2",
"npm-run-all": "^4.1.2",
"postcss-loader": "^3.0.0",
"prettier": "^1.15.3",
"react": "^16.8.2",
"react-dom": "^16.8.2",
"react-styleguidist": "^8.0.6",
"remark-cli": "^6.0.1",
"request": "^2.85.0",
"rimraf": "^3.0.0",
"rollup": "^1.0.0",
"rollup-plugin-babel": "^4.1.0",
"rollup-plugin-commonjs": "^9.1.0",
"rollup-plugin-node-resolve": "^4.0.0",
"rollup-plugin-postcss": "^2.0.3",
"s3-website": "^3.3.0",
"sass-loader": "^7.0.1",
"styled-components": "^4.4.1",
"stylelint": "^9.1.1",
"stylelint-config-prettier": "^4.0.0",
"stylelint-config-recommended-scss": "^3.1.0",
"stylelint-scss": "^3.0.0",
"url-loader": "^1.0.1",
"webpack": "^4.6.0"
},
"config": {
"commitizen": {
"path": "@commitlint/prompt"
}
},
"prettier": {
"printWidth": 100,
"semi": false,
"singleQuote": true,
"trailingComma": "es5",
"bracketSpacing": true
},
"lint-staged": {
"linters": {
"*.{js,jsx}": [
"eslint --ext '.js,.jsx' --config config/eslint.config.js --quiet --fix",
"git add"
],
"*.scss": "stylelint --config config/stylelint.config.js",
"*.md": [
"remark --quiet --frail .",
"prettier --write",
"git add"
],
"*": "echint"
},
"ignore": [
"**/*.{png,jpeg,jpg}"
]
},
"echint": {
"ignore": [
"package-lock.json",
"**/node_modules/**",
"**/package-lock.json",
"**/dist/**",
"**/**.svg",
"**/**.log",
"**/__snapshots__/**",
"**/**.tgz",
"guide/components/**",
"guide/_book/**",
"build/**",
"styleguide/**",
"**/reports/*.xml",
"**/**.png"
]
},
"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:*"
}
}
}