@js-primer/local-server
Version:
Local Server for js-primer.
87 lines (86 loc) • 1.99 kB
JSON
{
"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": "cross-env NODE_ENV=production tsc -p .",
"prepublish": "npm run --if-present build",
"test": "mocha \"test/**/*.{js,ts}\"",
"prettier": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"",
"watch": "tsc -p . --watch"
},
"prettier": {
"printWidth": 120,
"singleQuote": false,
"tabWidth": 4
},
"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.33",
"@types/detect-port": "^1.3.0",
"@types/meow": "^5.0.0",
"@types/mocha": "^8.0.4",
"@types/node": "^14.14.9",
"@types/serve-static": "^1.13.8",
"@types/supertest": "^2.0.10",
"cross-env": "^7.0.2",
"husky": "^4.3.0",
"lint-staged": "^10.5.1",
"mocha": "^8.2.1",
"prettier": "^2.2.0",
"supertest": "^6.0.1",
"ts-node": "^9.0.0",
"ts-node-test-register": "^9.0.0",
"typescript": "^4.1.2"
},
"publishConfig": {
"access": "public"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,css}": [
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"post-commit": "git reset",
"pre-commit": "lint-staged"
}
}
}