|
1 | 1 | { |
2 | 2 | "name": "react-server-renderer", |
3 | | - "version": "1.1.1", |
| 3 | + "version": "1.2.0", |
4 | 4 | "description": "simple React SSR solution inspired by vue-server-render", |
5 | 5 | "repository": "git@github.com:JounQin/react-server-renderer.git", |
6 | 6 | "main": "lib/index.js", |
7 | 7 | "types": "lib/index.d.ts", |
8 | 8 | "author": "JounQin <admin@1stg.me>", |
9 | 9 | "license": "MIT", |
10 | 10 | "scripts": { |
11 | | - "lint": "tslint -p . -t stylish", |
| 11 | + "lint": "eslint . --ext .js,.ts", |
12 | 12 | "build": "tsc" |
13 | 13 | }, |
14 | 14 | "files": [ |
|
18 | 18 | "server-plugin.js", |
19 | 19 | "server-plugin.d.ts" |
20 | 20 | ], |
21 | | - "husky": { |
22 | | - "hooks": { |
23 | | - "pre-commit": "lint-staged", |
24 | | - "pre-push": "tsc" |
25 | | - } |
26 | | - }, |
27 | | - "lint-staged": { |
28 | | - "*.ts": [ |
29 | | - "tslint -p . -t stylish --fix", |
30 | | - "git add" |
31 | | - ], |
32 | | - "*.{md,json}": [ |
33 | | - "prettier --write", |
34 | | - "git add" |
35 | | - ] |
36 | | - }, |
37 | | - "prettier": { |
38 | | - "semi": false, |
39 | | - "singleQuote": true, |
40 | | - "trailingComma": "all" |
41 | | - }, |
42 | 21 | "peerDependencies": { |
43 | 22 | "react": "^16.4.2", |
44 | 23 | "react-dom": "^16.4.2" |
45 | 24 | }, |
46 | 25 | "dependencies": { |
47 | | - "hash-sum": "^1.0.2", |
| 26 | + "hash-sum": "^2.0.0", |
48 | 27 | "lodash": "^4.17.11", |
49 | | - "lodash.uniq": "^4.5.0", |
50 | | - "resolve": "^1.8.1", |
51 | | - "serialize-javascript": "^1.5.0", |
| 28 | + "resolve": "^1.11.1", |
| 29 | + "serialize-javascript": "^1.7.0", |
52 | 30 | "source-map": "^0.7.0" |
53 | 31 | }, |
54 | 32 | "devDependencies": { |
55 | 33 | "@types/hash-sum": "^1.0.0", |
56 | | - "@types/lodash.uniq": "^4.5.4", |
57 | | - "@types/node": "^10.12.0", |
58 | | - "@types/react": "^16.4.18", |
59 | | - "@types/react-dom": "^16.0.9", |
| 34 | + "@types/lodash": "^4.14.135", |
| 35 | + "@types/node": "^12.0.12", |
| 36 | + "@types/react": "^16.8.23", |
| 37 | + "@types/react-dom": "^16.8.4", |
60 | 38 | "@types/resolve": "^0.0.8", |
61 | 39 | "@types/serialize-javascript": "^1.5.0", |
62 | | - "husky": "^1.1.2", |
63 | | - "lint-staged": "^7.3.0", |
64 | | - "prettier": "^1.14.3", |
65 | | - "react": "^16.5.2", |
66 | | - "react-dom": "^16.5.2", |
67 | | - "tslint": "^5.11.0", |
68 | | - "tslint-config-prettier": "^1.15.0", |
69 | | - "tslint-config-standard": "^8.0.1", |
70 | | - "tslint-plugin-prettier": "^2.0.0", |
71 | | - "typescript": "^3.1.3" |
| 40 | + "eslint": "^6.0.1", |
| 41 | + "eslint-config-1stg": "^5.2.0", |
| 42 | + "husky": "^3.0.0", |
| 43 | + "lint-staged": "^9.1.0", |
| 44 | + "prettier": "^1.18.2", |
| 45 | + "react": "^16.8.6", |
| 46 | + "react-dom": "^16.8.6", |
| 47 | + "typescript": "^3.5.2" |
72 | 48 | } |
73 | 49 | } |
0 commit comments