-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathpackage.json
67 lines (67 loc) · 2.49 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
{
"name": "@this/root",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/nerdyman/react-compare-slider.git"
},
"homepage": "https://react-compare-slider.vercel.app",
"author": {
"email": "[email protected]",
"name": "nerdyman",
"url": "https://github.com/nerdyman"
},
"engines": {
"node": ">=18.0.0"
},
"packageManager": "[email protected]",
"scripts": {
"bootstrap": "corepack enable && pnpm install --frozen-lockfile",
"clean": "rm -rvf ./node_modules ./docs/*/node_modules ./lib/node_modules ./coverage ./docs/*/coverage ./docs/storybook/storybook-static",
"test": "rm -rf coverage && concurrently -n \"ssr,sb\" -c \"magenta,blue\" \"pnpm run test:ssr\" \"pnpm run test:storybook\"",
"test:ci": "concurrently -k -s first -n \"sb,test\" -c \"magenta,blue\" \"pnpm run --filter @this/storybook storybook:build --quiet && pnpm sirv ./docs/storybook/storybook-static --host 127.0.0.1 --port 6006\" \"pnpm wait-port 6006 && pnpm run test\"",
"test:ssr": "pnpm c8 -o ./coverage/ssr-tests -r text -r lcov node --test ./docs/ssr-tests/ssr.test.mjs",
"test:storybook": "pnpm --filter @this/storybook run test:coverage && pnpm nyc report --reporter=lcov -t ./docs/storybook/coverage/storybook --report-dir ./coverage/storybook",
"lint": "concurrently -n \"eslint,prettier\" -c \"green,magenta\" \"pnpm run lint:eslint\" \"pnpm run lint:prettier\"",
"lint:eslint": "eslint .",
"lint:prettier": "prettier --check .",
"lint-staged": "lint-staged",
"prepare": "husky install"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && pnpm run test"
}
},
"lint-staged": {
"**/*.{html,css}": [
"pretty-quick --staged"
],
"**/*.{js,jsx,mjs,ts,tsx}": [
"pretty-quick --staged",
"eslint --fix"
]
},
"resolutions": {
"react-element-to-jsx-string": "npm:@styled/react-element-to-jsx-string"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.16.2",
"@ianvs/prettier-plugin-sort-imports": "^3.7.2",
"@types/node": "^22.5.5",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"c8": "^9.1.0",
"concurrently": "^8.2.2",
"eslint": "^8.56.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^9.0.10",
"lint-staged": "^15.2.2",
"nyc": "^15.1.0",
"prettier": "^2.8.8",
"pretty-quick": "^3.1.3",
"sirv-cli": "^2.0.2",
"wait-port": "^1.1.0"
}
}