|
2 | 2 | "name": "@node-core/website", |
3 | 3 | "type": "module", |
4 | 4 | "scripts": { |
5 | | - "scripts:release-post": "pnpm exec cross-env NODE_NO_WARNINGS=1 node scripts/release-post/index.mjs", |
6 | | - "dev": "pnpm exec cross-env NODE_NO_WARNINGS=1 next dev", |
| 5 | + "scripts:release-post": "cross-env NODE_NO_WARNINGS=1 node scripts/release-post/index.mjs", |
| 6 | + "dev": "cross-env NODE_NO_WARNINGS=1 next dev", |
7 | 7 | "serve": "pnpm dev", |
8 | | - "build": "pnpm exec cross-env NODE_NO_WARNINGS=1 next build --turbopack", |
9 | | - "start": "pnpm exec cross-env NODE_NO_WARNINGS=1 next start", |
10 | | - "deploy": "pnpm exec cross-env NEXT_PUBLIC_STATIC_EXPORT=true NODE_NO_WARNINGS=1 next build", |
| 8 | + "build": "cross-env NODE_NO_WARNINGS=1 next build --turbopack", |
| 9 | + "start": "cross-env NODE_NO_WARNINGS=1 next start", |
| 10 | + "deploy": "cross-env NEXT_PUBLIC_STATIC_EXPORT=true NODE_NO_WARNINGS=1 next build", |
11 | 11 | "check-types": "tsc --noEmit", |
12 | 12 | "lint:js": "eslint \"**/*.{js,mjs,ts,tsx}\"", |
13 | 13 | "lint:snippets": "node ./scripts/lint-snippets/index.mjs", |
|
16 | 16 | "lint": "turbo run lint:md lint:snippets lint:js lint:css", |
17 | 17 | "lint:fix": "turbo run lint:md lint:js lint:css --no-cache -- --fix", |
18 | 18 | "sync-orama": "node ./scripts/orama-search/sync-orama-cloud.mjs", |
19 | | - "test:unit": "pnpm exec cross-env NODE_NO_WARNINGS=1 node --experimental-test-coverage --test-coverage-exclude=**/*.test.* --experimental-test-module-mocks --enable-source-maps --import=global-jsdom/register --import=tsx --import=tests/setup.jsx --test **/*.test.*", |
20 | | - "test:unit:watch": "pnpm exec cross-env NODE_OPTIONS=\"--watch\" npm run test:unit", |
| 19 | + "test:unit": "cross-env NODE_NO_WARNINGS=1 node --experimental-test-coverage --test-coverage-exclude=**/*.test.* --experimental-test-module-mocks --enable-source-maps --import=global-jsdom/register --import=tsx --import=tests/setup.jsx --test **/*.test.*", |
| 20 | + "test:unit:watch": "cross-env NODE_OPTIONS=\"--watch\" npm run test:unit", |
21 | 21 | "test": "turbo test:unit" |
22 | 22 | }, |
23 | 23 | "dependencies": { |
|
68 | 68 | "tailwindcss": "~4.0.17", |
69 | 69 | "unist-util-visit": "~5.0.0", |
70 | 70 | "vfile": "~6.0.3", |
71 | | - "vfile-matter": "~5.0.1" |
| 71 | + "vfile-matter": "~5.0.1", |
| 72 | + "cross-env": "7.0.3" |
72 | 73 | }, |
73 | 74 | "devDependencies": { |
74 | 75 | "@eslint/compat": "~1.2.8", |
75 | 76 | "@eslint/eslintrc": "~3.3.1", |
76 | 77 | "@next/eslint-plugin-next": "15.2.4", |
77 | 78 | "@testing-library/user-event": "~14.6.1", |
78 | 79 | "@types/semver": "~7.7.0", |
79 | | - "cross-env": "7.0.3", |
80 | 80 | "eslint-config-next": "15.2.4", |
81 | 81 | "eslint-import-resolver-typescript": "~4.3.1", |
82 | 82 | "eslint-plugin-mdx": "~3.4.0", |
|
0 commit comments