forked from CMSgov/design-system
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
62 lines (62 loc) · 1.57 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
{
"name": "design-system",
"private": true,
"workspaces": [
"packages/*"
],
"description": "A shared set of design and code elements for creating accessible and consistent websites",
"repository": "https://github.com/CMSgov/design-system",
"scripts": {
"start": "yarn cmsds start",
"build": "yarn cmsds build-docs",
"pre-release": "./prerelease.sh",
"release": "yarn lerna publish from-git",
"precommit": "lint-staged",
"test": "yarn test:unit",
"test:unit": "yarn cmsds test ./packages",
"test:e2e": "yarn cmsds test:e2e ./packages",
"update-snapshots": "yarn cmsds test ./packages --updateSnapshot",
"posttest": "yarn lint",
"lint": "yarn cmsds lint ./ --ignorePatterns '**/node_modules/**' '**/dist/**' '**/helpers/**' '**/__tests__/**' 'tmp/**' '**/types/**' 'examples/create-react-app-typescript/**'"
},
"devDependencies": {
"backstopjs": "^5.0.4",
"eslint": "^6.8.0",
"husky": "^4.2.5",
"lerna": "^3.20.0",
"lint-staged": "^10.0.8",
"prettier": "^2.0.5",
"react": "16.8.6",
"react-dom": "16.8.6",
"stylelint": "^13.3.2"
},
"engines": {
"node": ">=11.0.0",
"yarn": ">=1.22.4"
},
"resolutions": {
"kss/nunjucks": ">=3.2.0"
},
"lint-staged": {
"*.{js,jsx}": [
"prettier --write",
"eslint --fix"
],
"*.{md,html}": [
"prettier --write"
],
"*.scss": [
"prettier --write",
"stylelint --fix"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"browserslist": [
"> 2%",
"Last 2 versions"
]
}