-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
102 lines (102 loc) · 2.83 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
{
"name": "next-context",
"version": "0.2.3",
"repository": {
"type": "git",
"url": "https://github.com/yiminghe/next-context"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"files": [
"dist"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./middleware": {
"types": "./dist/middleware.d.ts",
"default": "./dist/middleware.js"
}
},
"scripts": {
"i18n": "ts-node scripts/i18n.ts",
"jest": "jest",
"format": "prettier --config ./prettier.config.js --ignore-path ./.prettierignore ./ --write",
"format:staged": "pretty-quick --staged",
"pre:test": "rm -rf .nyc_output && rm -rf coverage",
"test:only": "npm run pre:test && ts-node scripts/run-test.ts",
"test": "start-test test:dev http://localhost:3000 test:only",
"lint": "tsc --noEmit && next lint",
"test:dev": "rm -rf dist && NEXT_PUBLIC_CYPRESS=1 next dev",
"dev": "HOSTNAME=0.0.0.0 next dev",
"doc": "rm -rf temp docs && node scripts/doc",
"build": "rm -rf dist && tsc -p tsconfig-build.json && pnpm doc && node scripts/build",
"start": "next start",
"prepare": "husky"
},
"devDependencies": {
"@formatjs/fast-memoize": "^2.2.6",
"intl-messageformat": "^10.7.15",
"@cypress/code-coverage": "3.x",
"@jest/globals": "^29.7.0",
"@microsoft/api-documenter": "^7.25.21",
"@microsoft/api-extractor": "7.x",
"@next/bundle-analyzer": "15.x",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.0",
"@types/fs-extra": "^9.0.12",
"@types/node": "18.x",
"@types/react": "~19.0.8",
"@types/shelljs": "0.8.x",
"cypress": "13.x",
"eslint": "^8",
"eslint-config-next": "15.x",
"fs-extra": "11.x",
"glob": "^11.0.1",
"husky": "9.x",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-html-reporter": "^3.10.2",
"json5": "^2.2.3",
"mobx": "6.x",
"mobx-react-lite": "4.x",
"mochawesome": "^7.1.3",
"mochawesome-merge": "^4.3.0",
"mochawesome-report-generator": "^6.2.0",
"next": "15.x",
"prettier": "2.x",
"prettier-2": "npm:prettier@^2",
"prettier-plugin-tailwindcss": "0.2.x",
"pretty-quick": "3.x",
"react": "~19.0.0",
"react-dom": "18.x",
"shelljs": "0.8.x",
"start-server-and-test": "2.x",
"swc-plugin-coverage-instrument": "0.0.25",
"ts-node": "10.x",
"typed-icu-message": "0.0.12",
"typescript": "5.x"
},
"nyc": {
"include": [
"source/**/*.{js,jsx,ts,tsx}"
],
"excludeAfterRemap": true,
"exclude": [
"**/*.cy.*",
"**/*.d.ts",
"**/node_modules/**/*",
"**/.pnpm/**/*",
"**/src/**/*",
"**/cypress/**/*"
],
"reporter": [
"text",
"lcov"
]
},
"packageManager": "[email protected]"
}