|
1 | 1 | {
|
2 |
| - "name": "@jscig/ows", |
| 2 | + "name": "@jscig/official", |
3 | 3 | "version": "0.5.0",
|
4 | 4 | "private": true,
|
5 |
| - "license": "UNLICENSED", |
6 | 5 | "description": "Official Web site of JavaScript Chinese Interest Group",
|
7 |
| - |
8 | 6 | "homepage": "https://jscig.github.io/",
|
9 |
| - "repository": { |
10 |
| - "type": "git", |
11 |
| - "url": "git+https://github.com/JSCIG/jscig.github.io.git" |
| 7 | + "repository": "https://github.com/JSCIG/jscig.github.io", |
| 8 | + "license": "UNLICENSED", |
| 9 | + "author": "JSCIG", |
| 10 | + "main": "source/index.html", |
| 11 | + "scripts": { |
| 12 | + "build": "rm -rf dist/ && npm run pack-dist && npm run pack-sw", |
| 13 | + "pack-dist": "parcel build source/index.html --public-url .", |
| 14 | + "pack-sw": "rm -f dist/sw.js.map && workbox generateSW", |
| 15 | + "start": "workbox generateSW && parcel source/index.html --open", |
| 16 | + "test": "lint-staged" |
| 17 | + }, |
| 18 | + "husky": { |
| 19 | + "hooks": { |
| 20 | + "pre-commit": "npm test", |
| 21 | + "pre-push": "npm run build" |
| 22 | + } |
12 | 23 | },
|
13 |
| - "bugs": { |
14 |
| - "url": "https://github.com/JSCIG/jscig.github.io/issues" |
| 24 | + "lint-staged": { |
| 25 | + "*.{html,md,css,less,json,yml,js,ts,tsx}": [ |
| 26 | + "prettier --write" |
| 27 | + ] |
| 28 | + }, |
| 29 | + "prettier": { |
| 30 | + "arrowParens": "avoid", |
| 31 | + "singleQuote": true, |
| 32 | + "trailingComma": "none" |
15 | 33 | },
|
16 |
| - "main": "source/index.html", |
17 | 34 | "dependencies": {
|
18 | 35 | "boot-cell": "^1.1.1",
|
19 | 36 | "bootstrap-icons": "^1.0.0",
|
|
38 | 55 | "typescript": "^4.0.3",
|
39 | 56 | "workbox-cli": "^4.3.1"
|
40 | 57 | },
|
41 |
| - "prettier": { |
42 |
| - "singleQuote": true, |
43 |
| - "trailingComma": "none", |
44 |
| - "arrowParens": "avoid" |
45 |
| - }, |
46 |
| - "lint-staged": { |
47 |
| - "*.{html,md,css,less,json,yml,js,ts,tsx}": [ |
48 |
| - "prettier --write" |
49 |
| - ] |
50 |
| - }, |
51 | 58 | "postcss": {
|
52 | 59 | "modules": true,
|
53 | 60 | "plugins": {
|
54 | 61 | "autoprefixer": {
|
55 | 62 | "grid": true
|
56 | 63 | }
|
57 | 64 | }
|
58 |
| - }, |
59 |
| - "scripts": { |
60 |
| - "test": "lint-staged", |
61 |
| - "start": "workbox generateSW && parcel source/index.html --open", |
62 |
| - "pack-dist": "parcel build source/index.html --public-url .", |
63 |
| - "pack-sw": "rm -f dist/sw.js.map && workbox generateSW", |
64 |
| - "build": "rm -rf dist/ && npm run pack-dist && npm run pack-sw" |
65 |
| - }, |
66 |
| - "husky": { |
67 |
| - "hooks": { |
68 |
| - "pre-commit": "npm test", |
69 |
| - "pre-push": "npm run build" |
70 |
| - } |
71 | 65 | }
|
72 | 66 | }
|
0 commit comments