Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
125 lines (125 loc) · 3.59 KB
/
Copy pathpackage.json
File metadata and controls
125 lines (125 loc) · 3.59 KB
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
{
"name": "next-context",
"private": true,
"version": "0.8.2",
"description": "Easily access request/response context between next middleware, components, action and route",
"repository": {
"type": "git",
"url": "https://github.com/yiminghe/next-context"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"exports": {
".": {
"import": "./expo/source/index.tsx"
},
"./constants": {
"import": "./expo/source/constants.ts"
},
"./cors": {
"import": "./expo/source/cors/cors.ts"
},
"./expo": {
"import": "./expo/source/expo.tsx"
},
"./shared-context": {
"react-server": "./expo/source/shared-context/react-server.ts",
"import": "./expo/source/shared-context/index.tsx"
},
"./i18n": {
"react-server": "./expo/source/i18n/react-server.ts",
"import": "./expo/source/i18n/index.tsx"
}
},
"scripts": {
"pub": "pnpm run build && cd dist && rm -rf dist-types tsdoc-metadata.json && npm publish",
"i18n": "tsx 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": "pnpm run pre:test && tsx scripts/run-test.ts",
"test": "start-test 'pnpm run test:dev' http://localhost:3000 'pnpm run test:only'",
"lint": "rm -rf dist .next && tsc --noEmit && oxlint src expo/source",
"test:dev": "rm -rf dist && NEXT_PUBLIC_CYPRESS=1 pnpm dev",
"dev": "pnpm i18n && HOSTNAME=0.0.0.0 next dev",
"turbo": "pnpm dev --turbopack",
"doc": "rm -rf temp docs && node scripts/doc",
"build": "sh scripts/build.sh",
"start": "next start",
"prepare": "husky"
},
"dependencies": {
"@formatjs/fast-memoize": "3.x",
"cookie": "1.x",
"intl-messageformat": "11.x"
},
"devDependencies": {
"@cypress/code-coverage": "4.x",
"@jest/globals": "30.x",
"@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/prettier": "2.x",
"@types/react": "19.x",
"@types/react-dom": "19.x",
"@types/shelljs": "0.8.x",
"cypress": "15.x",
"fs-extra": "11.x",
"glob": "13.x",
"husky": "9.x",
"jest": "30.x",
"jest-environment-jsdom": "30.x",
"jest-html-reporter": "4.x",
"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": "^16.2.9",
"oxlint": "^1.70.0",
"prettier": "2.x",
"prettier-plugin-tailwindcss": "0.2.x",
"pretty-quick": "3.x",
"react": "19.x",
"react-dom": "19.x",
"shelljs": "0.8.x",
"start-server-and-test": "3.x",
"swc-plugin-coverage-instrument": "0.0.32",
"tsx": "^4.22.4",
"typed-icu-message": "0.0.18",
"typescript": "npm:@typescript/typescript6@^6.0.0",
"typescript-7": "npm:typescript@7.x"
},
"devEngines": {
"packageManager": {
"name": "pnpm",
"version": "12.x",
"onFail": "download"
}
},
"nyc": {
"include": [
"expo/source/**/*.{js,jsx,ts,tsx}"
],
"excludeAfterRemap": true,
"exclude": [
"**/*.cy.*",
"**/*.d.ts",
"**/node_modules/**/*",
"**/.pnpm/**/*",
"**/src/**/*",
"**/cypress/**/*"
],
"reporter": [
"text",
"lcov"
]
}
}