-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathpackage.json
70 lines (70 loc) · 2.17 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
{
"private": true,
"workspaces": [
"packages/*"
],
"devDependencies": {
"@babel/cli": "^7.26.4",
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.26.3",
"@babel/preset-typescript": "^7.26.0",
"@playwright/test": "^1.49.1",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^28.0.2",
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-replace": "^6.0.2",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.2",
"@size-limit/preset-small-lib": "^11.1.6",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.2.0",
"@types/jest": "^29.5.14",
"@types/node": "^22.10.7",
"babel-jest": "^29.7.0",
"babel-plugin-add-module-exports": "^1.0.4",
"husky": "^9.1.7",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^15.4.1",
"prettier": "^3.4.2",
"rimraf": "^6.0.1",
"rollup": "^4.30.1",
"rollup-plugin-replace": "^2.2.0",
"size-limit": "^11.1.6",
"tslib": "^2.8.1",
"typescript": "^5.7.3"
},
"scripts": {
"test": "jest --coverage",
"watch": "jest --watch",
"e2e": "npx playwright test --ui",
"build": "yarn build-universal && yarn build-react && yarn build-express && yarn build-koa && yarn build-demo",
"build-universal": "cd packages/universal-cookie && yarn build",
"build-react": "cd packages/react-cookie && yarn build",
"build-express": "cd packages/universal-cookie-express && yarn build",
"build-koa": "cd packages/universal-cookie-koa && yarn build",
"build-demo": "cd packages/react-cookie-demo && yarn build",
"format": "prettier . --check",
"size": "size-limit",
"prepare": "husky"
},
"size-limit": [
{
"path": "./packages/universal-cookie-express/cjs/index.js",
"limit": "4 KB"
},
{
"path": "./packages/universal-cookie-koa/cjs/index.js",
"limit": "4 KB"
},
{
"path": "./packages/react-cookie/cjs/index.js",
"limit": "10 KB"
}
],
"lint-staged": {
"*.{js,jsx,ts,tsx,md,css,html,json,yml}": "prettier --write"
},
"packageManager": "yarn@4.6.0"
}