|
23 | 23 | "scripts": {
|
24 | 24 | "build": "tsx scripts/workflow/build-routes.ts",
|
25 | 25 | "build:docs": "tsx scripts/workflow/build-docs.ts",
|
26 |
| - "dev": "NODE_ENV=dev tsx watch --no-cache lib/index.ts", |
27 |
| - "dev:cache": "NODE_ENV=production tsx watch lib/index.ts", |
| 26 | + "dev": "cross-env NODE_ENV=dev tsx watch --no-cache lib/index.ts", |
| 27 | + "dev:cache": "cross-env NODE_ENV=production tsx watch lib/index.ts", |
28 | 28 | "format": "eslint --cache --fix \"**/*.{ts,js,yml}\" && prettier \"**/*.{ts,js,json}\" --write",
|
29 | 29 | "format:check": "eslint --cache \"**/*.{ts,js,yml}\" && prettier \"**/*.{ts,js,json}\" --check",
|
30 | 30 | "format:staged": "lint-staged",
|
31 |
| - "vitest": "NODE_ENV=test vitest", |
32 |
| - "vitest:fullroutes": "NODE_ENV=test FULL_ROUTES_TEST=true vitest --reporter=json --reporter=default --outputFile=\"./assets/build/test-full-routes.json\" routes", |
33 |
| - "vitest:coverage": "NODE_ENV=test vitest --coverage.enabled --reporter=junit", |
34 |
| - "vitest:watch": "NODE_ENV=test vitest --watch", |
| 31 | + "vitest": "cross-env NODE_ENV=test vitest", |
| 32 | + "vitest:fullroutes": "cross-env NODE_ENV=test FULL_ROUTES_TEST=true vitest --reporter=json --reporter=default --outputFile=\"./assets/build/test-full-routes.json\" routes", |
| 33 | + "vitest:coverage": "cross-env NODE_ENV=test vitest --coverage.enabled --reporter=junit", |
| 34 | + "vitest:watch": "cross-env NODE_ENV=test vitest --watch", |
35 | 35 | "lint": "eslint --cache .",
|
36 | 36 | "prepare": "husky || true",
|
37 |
| - "profiling": "NODE_ENV=production tsx --prof lib/index.ts", |
38 |
| - "start": "NODE_ENV=production tsx lib/index.ts", |
| 37 | + "profiling": "cross-env NODE_ENV=production tsx --prof lib/index.ts", |
| 38 | + "start": "cross-env NODE_ENV=production tsx lib/index.ts", |
39 | 39 | "test": "npm run format:check && npm run vitest:coverage"
|
40 | 40 | },
|
41 | 41 | "lint-staged": {
|
|
63 | 63 | "cheerio": "1.0.0-rc.12",
|
64 | 64 | "chrono-node": "2.7.5",
|
65 | 65 | "city-timezones": "1.2.1",
|
| 66 | + "cross-env": "7.0.3", |
66 | 67 | "crypto-js": "4.2.0",
|
67 | 68 | "currency-symbol-map": "5.1.0",
|
68 | 69 | "dayjs": "1.11.8",
|
|
71 | 72 | "entities": "4.5.0",
|
72 | 73 | "etag": "1.8.1",
|
73 | 74 | "fanfou-sdk": "5.0.0",
|
| 75 | + "form-data": "4.0.0", |
74 | 76 | "git-rev-sync": "3.0.2",
|
75 | 77 | "googleapis": "134.0.0",
|
76 | 78 | "got": "14.2.1",
|
|
0 commit comments