UNPKG

1.76 kBJSONView Raw
1{
2 "name": "micri",
3 "version": "4.4.0",
4 "description": "Asynchronous HTTP microservices",
5 "main": "./dist/index.js",
6 "files": [
7 "dist"
8 ],
9 "scripts": {
10 "build": "rm -rf ./dist && ncc build -m -s ./src/index.ts && cp ./lib/worker-wrapper.js ./dist/",
11 "test": "npm run lint && NODE_ENV=test jest",
12 "lint": "eslint --ext .ts ./src",
13 "git-pre-commit": "eslint --ext .ts ./src",
14 "prepublish": "npm run build",
15 "prettier": "prettier --write './{src,test}/**/*.ts' && prettier --write './lib/*.js'"
16 },
17 "engines": {
18 "node": ">= 12.0.0"
19 },
20 "repository": "turist-cloud/micri",
21 "keywords": [
22 "micro",
23 "micri",
24 "service",
25 "microservice",
26 "API"
27 ],
28 "license": "MIT",
29 "devDependencies": {
30 "@types/bytes": "3.1.0",
31 "@types/content-type": "1.1.3",
32 "@types/jest": "26.0.19",
33 "@types/node": "13.9.1",
34 "@types/test-listen": "1.1.0",
35 "@typescript-eslint/eslint-plugin": "4.11.1",
36 "@typescript-eslint/parser": "4.11.1",
37 "@zeit/fetch-retry": "4.0.1",
38 "@zeit/git-hooks": "0.1.4",
39 "@zeit/ncc": "0.21.1",
40 "bytes": "3.1.0",
41 "content-type": "1.0.4",
42 "eslint": "7.16.0",
43 "eslint-config-prettier": "7.1.0",
44 "eslint-plugin-prettier": "3.3.0",
45 "jest": "26.6.3",
46 "node-fetch": "2.6.1",
47 "prettier": "2.2.1",
48 "raw-body": "2.4.1",
49 "resumer": "0.0.0",
50 "test-listen": "1.1.0",
51 "ts-jest": "26.4.4",
52 "typescript": "4.1.3"
53 },
54 "dependencies": {
55 "handler-agent": "0.2.0"
56 },
57 "jest": {
58 "preset": "ts-jest",
59 "testMatch": [
60 "**/test/**/*.test.ts"
61 ],
62 "collectCoverage": true,
63 "collectCoverageFrom": [
64 "src/*.ts"
65 ],
66 "verbose": true
67 },
68 "git": {
69 "pre-commit": "lint-staged"
70 }
71}