Skip to content

Commit 0622740

Browse files
committed
reorder package.json
1 parent 3acba54 commit 0622740

File tree

1 file changed

+26
-32
lines changed

1 file changed

+26
-32
lines changed

package.json

Lines changed: 26 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,36 @@
11
{
2-
"name": "@jscig/ows",
2+
"name": "@jscig/official",
33
"version": "0.5.0",
44
"private": true,
5-
"license": "UNLICENSED",
65
"description": "Official Web site of JavaScript Chinese Interest Group",
7-
"author": "[email protected]",
86
"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+
}
1223
},
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"
1533
},
16-
"main": "source/index.html",
1734
"dependencies": {
1835
"boot-cell": "^1.1.1",
1936
"bootstrap-icons": "^1.0.0",
@@ -38,35 +55,12 @@
3855
"typescript": "^4.0.3",
3956
"workbox-cli": "^4.3.1"
4057
},
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-
},
5158
"postcss": {
5259
"modules": true,
5360
"plugins": {
5461
"autoprefixer": {
5562
"grid": true
5663
}
5764
}
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-
}
7165
}
7266
}

0 commit comments

Comments
 (0)