-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
79 lines (79 loc) · 1.84 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
{
"name": "@js-primer/local-server",
"version": "1.0.2",
"description": "Local Server for js-primer.",
"keywords": [
"js-primer",
"local-server",
"server"
],
"homepage": "https://github.com/js-primer/local-server",
"bugs": {
"url": "https://github.com/js-primer/local-server/issues"
},
"license": "MIT",
"author": "azu",
"files": [
"bin/",
"lib/"
],
"main": "lib/local-server.js",
"types": "lib/local-server.d.ts",
"bin": {
"js-primer-local-server": "./bin/cmd.js"
},
"directories": {
"lib": "lib",
"test": "test"
},
"repository": {
"type": "git",
"url": "https://github.com/js-primer/local-server.git"
},
"scripts": {
"build": "tsc -p .",
"prepublish": "npm run --if-present build",
"test": "mocha \"test/**/*.{js,ts}\"",
"watch": "tsc -p . --watch",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"",
"prepare": "git config --local core.hooksPath .githooks"
},
"prettier": {
"singleQuote": false,
"printWidth": 120,
"tabWidth": 4,
"trailingComma": "none"
},
"dependencies": {
"chalk": "^4.1.0",
"connect": "^3.7.0",
"detect-port": "^1.3.0",
"log-symbols": "^4.0.0",
"meow": "^8.0.0",
"serve-static": "^1.14.1"
},
"devDependencies": {
"@types/connect": "^3.4.35",
"@types/detect-port": "^1.3.2",
"@types/mocha": "^10.0.1",
"@types/node": "^18.14.2",
"@types/serve-static": "^1.15.1",
"@types/supertest": "^2.0.12",
"lint-staged": "^13.1.2",
"mocha": "^10.2.0",
"prettier": "^2.8.4",
"supertest": "^6.3.3",
"ts-node": "^10.9.1",
"ts-node-test-register": "^10.0.0",
"typescript": "^4.9.5"
},
"publishConfig": {
"access": "public"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,css}": [
"prettier --write"
]
},
"packageManager": "[email protected]"
}