This repository has been archived by the owner on May 27, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
60 lines (60 loc) · 1.77 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
{
"name": "ftrouter",
"version": "0.0.3-1",
"description": "A minimal file tree based api router for node rest api's.",
"main": "dist/index.js",
"bin": {
"ftrouter": "dist/index.js",
"routex": "dist/index.js"
},
"scripts": {
"dev": "nodemon --inspect ./dist/index.js -p 3000 --dir ./example",
"dev:inspect": "nodemon --inspect-brk ./app.js -p 3000 --dir ./example",
"start": "node ./app.js -d ./example",
"format": "prettier --write .",
"create:doc": "node create-docs.js && git add docs/index.html",
"watch": "ncc build app.js -w -o dist",
"build": "ncc build app.js -o dist && git add .",
"test:endpoints": "sleep 7 && node tests/endpoints.js",
"test": "run-p dev test:*"
},
"repository": {
"type": "git",
"url": "git+https://github.com/barelyhuman/ftrouter.git"
},
"author": "Siddharth Gelera",
"license": "MIT",
"bugs": {
"url": "https://github.com/barelyhuman/ftrouter/issues"
},
"homepage": "https://github.com/barelyhuman/ftrouter#readme",
"dependencies": {
"git-clone": "^0.1.0",
"inquirer": "^8.0.0",
"ncp": "^2.0.0",
"rimraf": "^3.0.2"
},
"devDependencies": {
"@zeit/ncc": "^0.22.3",
"axios": "^0.21.1",
"husky": ">=4",
"lint-staged": ">=10",
"marked": "^1.1.0",
"minimist": "^1.2.5",
"npm-run-all": "^4.1.5",
"ora": "^4.0.4",
"prettier": "^2.0.5"
},
"husky": {
"hooks": {
"pre-commit": [
"npm run create:doc && lint-staged && npm run build"
]
}
},
"lint-staged": {
"*.{js,css,md,html}": [
"prettier --write"
]
}
}