UNPKG

1.46 kBJSONView Raw
1{
2 "name": "microrouter",
3 "description": "🚉 A tiny and functional router for ZEIT's Micro",
4 "version": "3.1.3",
5 "main": "dist/lib/index.js",
6 "jsnext:main": "src/lib/index.js",
7 "scripts": {
8 "prerelease": "yarn test && yarn lint && yarn build",
9 "release": "np",
10 "lint": "eslint ./src/**/*.js",
11 "build": "yarn lint && rm -rf dist/* && babel src --ignore *.test.js --out-dir dist --copy-files",
12 "test": "nyc ava",
13 "coverage": "nyc report --reporter=text-lcov | coveralls",
14 "format": "yarn lint && prettier --write \"src/**/*.js\""
15 },
16 "repository": "git@github.com:pedronauck/micro-router.git",
17 "author": "Pedro Nauck <pedronauck@gmail.com>",
18 "license": "MIT",
19 "dependencies": {
20 "url-pattern": "^1.0.3"
21 },
22 "devDependencies": {
23 "ava": "^0.25.0",
24 "babel-cli": "^6.24.1",
25 "babel-plugin-transform-async-to-generator": "^6.24.1",
26 "coveralls": "^3.0.0",
27 "eslint": "^4.18.2",
28 "eslint-config-prettier": "^2.9.0",
29 "eslint-plugin-prettier": "^2.6.0",
30 "husky": "^0.15.0-rc.8",
31 "lint-staged": "^7.0.0",
32 "micro": "^9.1.0",
33 "np": "^2.20.1",
34 "nyc": "^11.4.1",
35 "prettier": "^1.11.1",
36 "request": "^2.83.0",
37 "request-promise": "^4.2.2",
38 "test-listen": "^1.1.0"
39 },
40 "engines": {
41 "node": ">=6.10.0"
42 },
43 "lint-staged": {
44 "src/**/*.js": [
45 "yarn format",
46 "git add"
47 ]
48 },
49 "husky": {
50 "pre-commit": "lint-staged && npm test"
51 }
52}