-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
91 lines (91 loc) · 2.85 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"name": "egg-fis3-typescript-multiple-html-boilerplate",
"version": "1.0.0",
"description": "基于 Egg + Fis3+ TypeScript + Nunjucks 多页面服务端渲染同构工程骨架项目",
"private": true,
"egg": {
"typescript": true
},
"scripts": {
"precommit": "npm run lint-staged",
"build": "cross-env NODE_ENV=local fis3 release -uwL",
"web:prod": "npm run web:clean && fis3 release prod -u",
"web:clean": "rimraf ./app/public/* && rimraf ./app/view/*",
"docker": "egg-scripts start --title=egg-server-egg-fis3-typescript-multiple-html-boilerplate",
"start": "egg-scripts start --daemon --title=egg-server-egg-fis3-typescript-multiple-html-boilerplate",
"stop": "egg-scripts stop --title=egg-server-egg-fis3-typescript-multiple-html-boilerplate",
"dev": "npm run web:clean && egg-bin dev -r -s egg-ts-helper/register",
"debug": "egg-bin debug -r egg-ts-helper/register",
"test-local": "egg-bin test -r egg-ts-helper/register",
"test": "npm run lint -- --fix && npm run test-local",
"cov": "egg-bin cov -r egg-ts-helper/register",
"tsc": "ets && tsc -p tsconfig.json",
"ci": "npm run lint && npm run cov && npm run tsc",
"autod": "autod",
"lint": "tslint . --fix",
"lint-staged": "lint-staged",
"lint:style": "stylelint --syntax scss \"app/web/**/*.scss\" --fix",
"clean": "ets clean",
"prettier": "prettier --write ./app/web/**/*"
},
"dependencies": {
"egg": "^2.6.1",
"egg-scripts": "^2.6.0",
"egg-view-assets": "^1.1.2",
"egg-view-nunjucks": "^2.2.0"
},
"devDependencies": {
"@types/mocha": "^2.2.40",
"@types/node": "^7.0.12",
"@types/supertest": "^2.0.0",
"autod": "^3.0.1",
"autod-egg": "^1.1.0",
"cross-env": "^5.1.6",
"egg-bin": "^4.6.2",
"egg-ci": "^1.8.0",
"egg-mock": "^3.16.0",
"egg-ts-helper": "^1.4.2",
"fis-optimizer-html-minifier": "^0.0.9",
"fis-parser-node-sass": "^1.0.3",
"fis3": "^3.4.39",
"fis3-hook-commonjs": "^0.1.27",
"fis3-hook-node_modules": "^2.3.1",
"fis3-parser-precss": "^1.1.2",
"fis3-parser-typescript": "^1.2.2",
"fis3-postpackager-loader": "^2.1.10",
"fis3-preprocessor-autoprefixer": "^0.1.1",
"husky": "^0.14.3",
"jquery": "^3.3.1",
"lint-staged": "^7.1.2",
"prettier": "^1.12.1",
"rimraf": "^2.6.2",
"stylelint": "^9.2.1",
"stylelint-config-prettier": "^3.2.0",
"stylelint-config-standard": "^18.2.0",
"tslib": "^1.9.0",
"tslint": "^4.0.0",
"typescript": "^2.8.1"
},
"lint-staged": {
"**/*.{ts,scss}": [
"prettier --write"
],
"**/*.{ts}": "lint",
"**/*.scss": "stylelint --syntax scss"
},
"engines": {
"node": ">=8.9.0"
},
"ci": {
"version": "8"
},
"repository": {
"type": "git",
"url": ""
},
"eslintIgnore": [
"coverage"
],
"author": "Kaicong Huang",
"license": "MIT"
}