|
1 | 1 | { |
2 | 2 | "name": "react-server-renderer", |
3 | 3 | "version": "2.0.1", |
| 4 | + "type": "module", |
4 | 5 | "description": "Yet another simple React SSR solution inspired by vue-server-render", |
5 | 6 | "repository": "[email protected]:un-ts/react-server-renderer.git", |
6 | 7 | "author": "JounQin <[email protected]>", |
7 | 8 | "license": "MIT", |
8 | | - "type": "module", |
9 | 9 | "packageManager": "[email protected]", |
| 10 | + "engines": { |
| 11 | + "node": "^12.20.0 || >=14.13.0" |
| 12 | + }, |
10 | 13 | "main": "lib/index.cjs", |
11 | 14 | "module": "lib/index.js", |
12 | | - "types": "lib/index.d.ts", |
13 | 15 | "exports": { |
14 | 16 | ".": { |
15 | 17 | "types": "./lib/index.d.ts", |
|
20 | 22 | "./server-plugin": "./lib/webpack-plugin/server.js", |
21 | 23 | "./package.json": "./package.json" |
22 | 24 | }, |
| 25 | + "types": "lib/index.d.ts", |
23 | 26 | "files": [ |
24 | 27 | "lib" |
25 | 28 | ], |
26 | | - "engines": { |
27 | | - "node": "^12.20.0 || >=14.13.0" |
28 | | - }, |
29 | 29 | "scripts": { |
30 | 30 | "build": "run-p 'build:*'", |
31 | 31 | "build:r": "r -f cjs", |
32 | 32 | "build:tsc": "tsc", |
| 33 | + "codesandbox:install": "yarn --ignore-engines", |
33 | 34 | "lint": "run-p 'lint:*'", |
34 | 35 | "lint:es": "eslint . --cache", |
35 | 36 | "lint:tsc": "tsc --noEmit", |
36 | | - "typecov": "type-coverage", |
37 | 37 | "prepare": "simple-git-hooks", |
38 | | - "release": "yarn build && clean-pkg-json && changeset publish" |
| 38 | + "release": "yarn build && clean-pkg-json && changeset publish", |
| 39 | + "typecov": "type-coverage" |
39 | 40 | }, |
40 | 41 | "peerDependencies": { |
41 | 42 | "react": "^16.0.0 || ^17.0.0 || ^18.0.0", |
|
0 commit comments