|
1 | 1 | { |
2 | 2 | "name": "@web-cell/home", |
3 | | - "version": "1.0.0", |
| 3 | + "version": "2.0.0", |
4 | 4 | "description": "Official site of WebCell", |
5 | 5 | "keywords": [ |
6 | 6 | "WebCell", |
|
20 | 20 | "url": "https://github.com/EasyWebApp/EasyWebApp.github.io/issues" |
21 | 21 | }, |
22 | 22 | "dependencies": { |
23 | | - "boot-cell": "^1.9.4", |
24 | | - "cell-router": "^2.0.4", |
25 | | - "classnames": "^2.2.6", |
26 | | - "github-web-widget": "^3.0.0-beta.9", |
27 | | - "koajax": "^0.6.4", |
28 | | - "marked": "^1.2.7", |
29 | | - "prismjs": "^1.23.0", |
30 | | - "web-cell": "^2.3.0-rc.1", |
31 | | - "web-utility": "^2.4.3" |
| 23 | + "boot-cell": "^2.0.0-beta.7", |
| 24 | + "cell-router": "^3.0.0-rc.5", |
| 25 | + "classnames": "^2.5.1", |
| 26 | + "dom-renderer": "^2.0.6", |
| 27 | + "github-web-widget": "^4.0.0-rc.1", |
| 28 | + "koajax": "^0.9.6", |
| 29 | + "marked": "^11.1.1", |
| 30 | + "mobx": "^6.12.0", |
| 31 | + "prismjs": "^1.29.0", |
| 32 | + "web-cell": "^3.0.0-rc.7", |
| 33 | + "web-utility": "^4.1.3" |
32 | 34 | }, |
33 | 35 | "devDependencies": { |
34 | | - "@babel/core": "^7.12.10", |
35 | | - "@types/classnames": "^2.2.11", |
36 | | - "autoprefixer": "^9.8.6", |
37 | | - "husky": "^4.3.7", |
38 | | - "less": "^4.1.0", |
39 | | - "lint-staged": "^10.5.3", |
40 | | - "parcel-bundler": "^1.12.4", |
41 | | - "postcss-modules": "^3.2.2", |
42 | | - "prettier": "^2.2.1", |
43 | | - "typescript": "^4.1.3", |
44 | | - "workbox-cli": "^6.0.2" |
| 36 | + "@parcel/config-default": "~2.11.0", |
| 37 | + "@parcel/packager-raw-url": "~2.11.0", |
| 38 | + "@parcel/transformer-less": "~2.11.0", |
| 39 | + "@parcel/transformer-typescript-tsc": "~2.11.0", |
| 40 | + "@parcel/transformer-webmanifest": "~2.11.0", |
| 41 | + "@types/classnames": "^2.3.1", |
| 42 | + "@types/node": "^18.19.8", |
| 43 | + "husky": "^8.0.3", |
| 44 | + "lint-staged": "^15.2.0", |
| 45 | + "parcel": "~2.11.0", |
| 46 | + "prettier": "^3.2.4", |
| 47 | + "typescript": "~5.3.3", |
| 48 | + "workbox-cli": "^7.0.0" |
45 | 49 | }, |
46 | 50 | "prettier": { |
47 | 51 | "tabWidth": 4, |
|
52 | 56 | "lint-staged": { |
53 | 57 | "*.{html,md,less,json,yml,js,ts,tsx}": "prettier --write" |
54 | 58 | }, |
55 | | - "postcss": { |
56 | | - "modules": true, |
57 | | - "plugins": { |
58 | | - "autoprefixer": { |
59 | | - "grid": true |
60 | | - } |
61 | | - } |
62 | | - }, |
63 | 59 | "scripts": { |
| 60 | + "prepare": "husky install", |
64 | 61 | "test": "lint-staged", |
65 | 62 | "start": "parcel source/index.html --open", |
66 | 63 | "pack-dist": "parcel build source/index.html --public-url .", |
67 | 64 | "pack-sw": "rm -f dist/sw.js.map && workbox generateSW", |
68 | 65 | "build": "rm -rf dist/ && npm run pack-dist && npm run pack-sw" |
69 | | - }, |
70 | | - "husky": { |
71 | | - "hooks": { |
72 | | - "pre-commit": "npm test", |
73 | | - "pre-push": "npm run build" |
74 | | - } |
75 | 66 | } |
76 | 67 | } |
0 commit comments