|
| 1 | +{ |
| 2 | + "name": "@js-primer/local-server", |
| 3 | + "version": "0.0.0", |
| 4 | + "description": "Local Server for js-primer.", |
| 5 | + "keywords": [ |
| 6 | + "js-primer", |
| 7 | + "local-server", |
| 8 | + "server" |
| 9 | + ], |
| 10 | + "homepage": "https://github.com/js-primer/local-server", |
| 11 | + "bugs": { |
| 12 | + "url": "https://github.com/js-primer/local-server/issues" |
| 13 | + }, |
| 14 | + "license": "MIT", |
| 15 | + "author": "azu", |
| 16 | + "files": [ |
| 17 | + "bin/", |
| 18 | + "lib/", |
| 19 | + "src/" |
| 20 | + ], |
| 21 | + "main": "lib/local-server.js", |
| 22 | + "types": "lib/local-server.d.ts", |
| 23 | + "bin": { |
| 24 | + "js-primer-local-server": "./bin/cmd.js" |
| 25 | + }, |
| 26 | + "directories": { |
| 27 | + "lib": "lib", |
| 28 | + "test": "test" |
| 29 | + }, |
| 30 | + "repository": { |
| 31 | + "type": "git", |
| 32 | + "url": "https://github.com/js-primer/local-server.git" |
| 33 | + }, |
| 34 | + "scripts": { |
| 35 | + "build": "cross-env NODE_ENV=production tsc -p .", |
| 36 | + "precommit": "lint-staged", |
| 37 | + "postcommit": "git reset", |
| 38 | + "prepublish": "npm run --if-present build", |
| 39 | + "test": "mocha \"test/**/*.ts\"", |
| 40 | + "prettier": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"", |
| 41 | + "watch": "tsc -p . --watch" |
| 42 | + }, |
| 43 | + "prettier": { |
| 44 | + "printWidth": 120, |
| 45 | + "singleQuote": false, |
| 46 | + "tabWidth": 4 |
| 47 | + }, |
| 48 | + "dependencies": { |
| 49 | + "chalk": "^2.4.1", |
| 50 | + "connect": "^3.6.6", |
| 51 | + "detect-port": "^1.2.3", |
| 52 | + "log-symbols": "^2.2.0", |
| 53 | + "meow": "^5.0.0", |
| 54 | + "serve-static": "^1.13.2" |
| 55 | + }, |
| 56 | + "devDependencies": { |
| 57 | + "@types/chalk": "^2.2.0", |
| 58 | + "@types/connect": "^3.4.32", |
| 59 | + "@types/detect-port": "^1.1.0", |
| 60 | + "@types/meow": "^4.0.1", |
| 61 | + "@types/mocha": "^5.2.0", |
| 62 | + "@types/node": "^10.1.1", |
| 63 | + "@types/serve-static": "^1.13.2", |
| 64 | + "@types/supertest": "^2.0.4", |
| 65 | + "cross-env": "^5.1.5", |
| 66 | + "husky": "^0.14.3", |
| 67 | + "lint-staged": "^7.1.0", |
| 68 | + "mocha": "^5.1.1", |
| 69 | + "prettier": "^1.12.1", |
| 70 | + "supertest": "^3.1.0", |
| 71 | + "ts-node": "^6.0.3", |
| 72 | + "ts-node-test-register": "^3.0.0", |
| 73 | + "typescript": "^2.8.3" |
| 74 | + }, |
| 75 | + "publishConfig": { |
| 76 | + "access": "public" |
| 77 | + }, |
| 78 | + "lint-staged": { |
| 79 | + "*.{js,jsx,ts,tsx,css}": [ |
| 80 | + "prettier --write", |
| 81 | + "git add" |
| 82 | + ] |
| 83 | + } |
| 84 | +} |
0 commit comments