-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
145 lines (145 loc) · 4.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
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
{
"name": "wwnds",
"private": true,
"author": "Evan Yamanishi <[email protected]>",
"workspaces": [
"packages/*",
"website"
],
"scripts": {
"build": "gulp build",
"build:core": "gulp core",
"build:docs": "npm run build -w website",
"build:docs-full": "npm run build:sassdoc & npm run build:stories && npm run build:docs",
"build:react": "gulp react",
"build:sassdoc": "sassdoc packages/core/src --config .sassdocrc.yaml --dest website/static/sassdoc",
"build:stories": "storybook build --output-dir website/static/storybook",
"clean": "gulp clean & npm run clear -w website",
"coverage": "nyc --reporter=html --reporter=json --reporter=text npm run test -- --verbose",
"cspell": "cspell '**/**'",
"dev:docs": "npm run start -w website",
"dev:docs-full": "npm run build:sassdoc & npm run build:stories && npm run dev:docs",
"dev:react": "npm run storybook",
"postinstall": "husky install",
"lint": "npm run lint:es && npm run lint:prettier && npm run lint:style",
"lint:es": "eslint '**/*.{js,jsx,ts,tsx}' --ignore-path .gitignore",
"lint:es-fix": "npm run lint:es -- --fix",
"lint:prettier": "npm run prettier -- --check",
"lint:prettier-fix": "npm run prettier -- --write",
"lint:style": "stylelint **/*.{css,sass,scss} --ignore-path .gitignore",
"lint:style-fix": "npm run lint:style -- --fix",
"prepublishOnly": "NODE_ENV=production gulp build",
"prettier": "prettier '**/!(react)/!(package-lock)*.{html,xhtml,md,json,yaml,yml}' --ignore-path .gitignore",
"serve:docs": "npm run serve -w website",
"storybook": "storybook dev -p 9009",
"test": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' ava --serial"
},
"lint-staged": {
"!(package-lock)*.{html,xhtml,md,json,yaml,yml}": [
"prettier --write"
],
"*.{css,sass,scss,html}": [
"stylelint --fix"
],
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"!(yarn.lock|package-lock.json)": [
"cspell"
]
},
"ava": {
"extensions": [
"ts",
"tsx"
],
"files": [
"!**/test/helpers"
],
"require": [
"ts-node/register/transpile-only",
"jsdom-global/register",
"raf/polyfill"
],
"timeout": "1m"
},
"nyc": {
"all": true,
"exclude": [
"**/.*",
"**/*.{fixtures,stories,test}.{ts,tsx}"
],
"include": [
"packages/*/src"
]
},
"overrides": {
"@types/react": "^17",
"@types/react-dom": "^17"
},
"devDependencies": {
"@babel/preset-env": "^7.22.10",
"@babel/preset-react": "^7.22.5",
"@babel/preset-typescript": "^7.22.5",
"@chromatic-com/storybook": "^3.2.2",
"@commitlint/cli": "^18.6.1",
"@commitlint/config-conventional": "^18.6.3",
"@storybook/addon-a11y": "^8.4.7",
"@storybook/addon-actions": "^8.4.7",
"@storybook/addon-essentials": "^8.4.7",
"@storybook/react": "^8.4.7",
"@storybook/react-vite": "^8.4.7",
"@storybook/theming": "^8.4.7",
"@testing-library/react": "^14.2.2",
"@testing-library/user-event": "^14.5.2",
"@types/classnames": "^2.3.1",
"@types/lodash": "^4.14.191",
"@types/sinon": "^17.0.3",
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/parser": "^5.54.0",
"ava": "^3.15.0",
"conventional-changelog-conventionalcommits": "^8.0.0",
"cspell": "^8.16.1",
"del": "^6.1.1",
"eslint": "^8.35.0",
"eslint-config-norton": "^5.0.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-mdx": "^2.0.5",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-storybook": "^0.11.1",
"gulp": "^5.0.0",
"gulp-header": "^2.0.9",
"gulp-postcss": "^10.0.0",
"gulp-sass": "^6.0.0",
"gulp-shell": "^0.8.0",
"husky": "^9.1.7",
"jsdom": "^25.0.1",
"jsdom-global": "^3.0.2",
"lerna": "^8.0.0",
"lint-staged": "^15.2.11",
"microbundle": "^0.15.1",
"mq-polyfill": "^1.1.8",
"nyc": "^17.1.0",
"postcss": "^8.4.21",
"postcss-preset-env": "^10.1.2",
"prettier": "^2.8.8",
"prettier-config-norton": "^1.2.2",
"raf": "^3.4.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"sass": "^1.58.3",
"sass-loader": "^13.2.0",
"sassdoc": "^2.7.4",
"sinon": "^19.0.2",
"storybook": "^8.4.7",
"stylelint": "^14.16.1",
"stylelint-config-norton": "^4.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.4.3"
},
"engines": {
"node": ">=18.12.0",
"npm": ">=7.0.0"
}
}