-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
84 lines (84 loc) · 2.87 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
{
"name": "lemon-typescript-template",
"version": "1.0.4",
"description": "lemon npm module template",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"nodemon": "NODE_ENV=development nodemon dist/app.js",
"start": "npm run build && concurrently -k -p \"[{name}]\" -n \"TypeScript,Node\" -c \"cyan.bold,green.bold\" \"npm run watch-ts\" \"npm run nodemon\"",
"build": "npm run build-ts",
"build-ts": "tsc",
"watch-ts": "tsc -w",
"dev:test": "jest --config=jest.config.json --watchAll",
"test": "jest --config=jest.config.json",
"doc": "npm run doc:html && open dist/docs/index.html",
"doc:html": "typedoc src/libs --exclude **/*.spec.ts --target ES6 --mode file --out dist/docs",
"doc:publish": "npm run doc:html && gh-pages -m \"docs(gh-pages): publish gh-pages via typedoc\" -d dist/docs",
"lint": "tsc --noEmit && eslint '*/**/*.{js,ts,jsx,tsx}' --fix",
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"",
"prepare": "npm run build",
"prepublishOnly": "npm test && npm run lint && npm run format"
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/lemoncloud-io/lemoncloud-typescript-template.git"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,ts,tsx,jsx}": [
"npm run lint",
"git add"
]
},
"files": [
"dist/**/*"
],
"engines": {
"node": ">=8.10.0"
},
"author": "Louis",
"license": "MIT",
"bugs": {
"url": "https://github.com/lemoncloud-io/lemoncloud-typescript-template/issues"
},
"homepage": "https://github.com/lemoncloud-io/lemoncloud-typescript-template#readme",
"dependencies": {
"body-parser": "^1.19.0",
"cors": "^2.8.5",
"dotenv": "^8.0.0",
"express": "^4.16.4",
"morgan": "^1.9.1",
"source-map-support": "^0.5.12",
"supertest": "^4.0.2",
"typescript": "^3.4.5",
"winston": "^3.2.1"
},
"devDependencies": {
"@types/cors": "^2.8.5",
"@types/dotenv": "^6.1.1",
"@types/jest": "^24.0.12",
"@types/morgan": "^1.7.35",
"@types/supertest": "^2.0.7",
"@types/winston": "^2.4.4",
"@typescript-eslint/eslint-plugin": "^1.7.0",
"@typescript-eslint/parser": "^1.7.0",
"codecov": "^3.4.0",
"concurrently": "^4.1.0",
"eslint": "^5.16.0",
"eslint-config-prettier": "^4.2.0",
"eslint-plugin-prettier": "^3.0.1",
"gh-pages": "^2.0.1",
"husky": "^2.2.0",
"jest": "^24.8.0",
"lint-staged": "^8.1.6",
"nodemon": "^1.19.0",
"prettier": "^1.17.0",
"ts-jest": "^24.0.2",
"typedoc": "^0.14.2"
}
}