-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
90 lines (90 loc) · 2.44 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
{
"name": "@citizensadvice/design-system",
"version": "6.4.0",
"description": "Citizens Advice Design System",
"repository": "https://github.com/citizensadvice/design-system",
"author": "Citizens Advice",
"license": "Apache-2.0",
"main": "lib/index.js",
"files": [
"assets",
"scss",
"lib",
"!scss/**/__tests__",
"CHANGELOG.md",
"README.md",
"LICENSE",
"NOTICE"
],
"scripts": {
"release": "npm run lint && npm run build && node ./scripts/release",
"prepublishOnly": "npm run lint && npm run build && node ./scripts/publish",
"size-limit": "size-limit",
"clean": "rm -fr ./lib",
"build:ts": "tsc -b",
"build": "npm-run-all clean --parallel build:** --sequential size-limit",
"format": "prettier --write .",
"lint:format": "prettier --check .",
"lint:css": "stylelint \"./scss/**/*.scss\"",
"lint:js": "eslint .",
"lint": "npm-run-all lint:*",
"test": "jest",
"test:watch": "jest --watch --notify"
},
"devDependencies": {
"@babel/preset-env": "^7.22.20",
"@babel/preset-typescript": "^7.23.0",
"@size-limit/file": "^11.0.0",
"@testing-library/dom": "^10.0.0",
"@testing-library/jest-dom": "^6.1.3",
"@testing-library/user-event": "^14.5.1",
"@typescript-eslint/eslint-plugin": "^8.1.0",
"@typescript-eslint/parser": "^8.1.0",
"chalk": "^4.1.2",
"eslint": "^8.57.0",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-import": "^2.28.1",
"git-state": "^4.1.0",
"glob": "^11.0.0",
"inquirer": "^12.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.2.5",
"sass": "^1.69.0",
"semver": "^7.3.8",
"simple-git": "^3.18.0",
"size-limit": "^11.0.0",
"stylelint": "^16.6.1",
"stylelint-config-standard-scss": "^14.0.0",
"stylelint-selector-bem-pattern": "^4.0.0",
"typescript": "^5.2.2"
},
"size-limit": [
{
"path": "lib/**/*.js",
"limit": "16 kB"
}
],
"browserslist": [
"IE 11",
"last 2 Edge versions",
"last 2 Chrome versions",
"last 2 Firefox versions",
"last 2 Safari versions",
"last 2 ChromeAndroid versions",
"last 2 iOS versions"
],
"jest": {
"clearMocks": true,
"coverageDirectory": "coverage",
"testPathIgnorePatterns": [
"/cypress/",
"/demo/config/webpack/",
"/engine/spec/",
"/lib/",
"/node_modules/",
"/vendor/"
]
}
}