-
Notifications
You must be signed in to change notification settings - Fork 21
/
package.json
77 lines (77 loc) · 2.13 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"name": "pingcap-website",
"version": "1.0.0",
"description":
"PingCAP is focused on developing distributed NewSQL and is the team building TiDB, an open-source distributed NewSQL database.",
"main": "app.js",
"scripts": {
"hugo": "gulp hugo",
"gen-contents": "bash ./gen-sub-gitinfo.sh;bash ./gen-nav.sh",
"clean-build": "rm -rf dist;",
"build":
"git submodule update --init --recursive --remote;bash ./gen-sub-gitinfo.sh;bash ./gen-nav.sh;export NODE_ENV=prod;gulp css;./build-check-err.sh",
"build-preview": "gulp build-preview",
"start": "export NODE_ENV=development;gulp server",
"lint": "eslint src"
},
"author": "",
"license": "MIT",
"dependencies": {},
"devDependencies": {
"babel-eslint": "^6.1.2",
"babel-loader": "^7.0.0",
"babel-preset-env": "^1.6.1",
"babel-register": "^6.11.6",
"browser-sync": "^2.13.0",
"css-loader": "^0.28.7",
"cssnano": "^3.10.0",
"eslint": "^4.7.2",
"eslint-config-prettier": "^2.6.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-prettier": "^2.3.1",
"exports-loader": "^0.6.3",
"extract-text-webpack-plugin": "^3.0.1",
"file-loader": "^0.11.1",
"gulp": "^3.9.1",
"gulp-babel": "^6.1.2",
"gulp-less": "^3.3.2",
"gulp-postcss": "^6.1.1",
"gulp-util": "^3.0.7",
"html-webpack-plugin": "^2.30.1",
"hugo-bin": "^0.17.0",
"imports-loader": "^0.7.1",
"optimize-css-assets-webpack-plugin": "^3.2.0",
"postcss-cssnext": "^2.7.0",
"postcss-import": "^10.0.0",
"prettier": "^1.7.0",
"url-loader": "^0.5.7",
"webpack": "^3.8.1",
"whatwg-fetch": "^1.0.0"
},
"babel": {
"presets": ["env"]
},
"eslintConfig": {
"extends": "prettier",
"plugins": ["prettier", "import"],
"parserOptions": {
"ecmaVersion": 2016,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"prettier/prettier": [
"error",
{
"singleQuote": true,
"semi": false,
"trailingComma": "es5",
"jsxBracketSameLine": true
}
],
"no-script-url": 0
}
}
}