1 | {
|
2 | "name": "lambcycle",
|
3 | "version": "0.2.0",
|
4 | "license": "MIT",
|
5 | "author": "Julian Tellez",
|
6 | "description": "🐑 🛵 A declarative lambda middleware with life cycle hooks 🐑 🛵",
|
7 | "repository": {
|
8 | "type": "git",
|
9 | "url": "https://github.com/juliantellez/lambcycle"
|
10 | },
|
11 | "main": "dist/main.js",
|
12 | "scripts": {
|
13 | "prepush": "sh config/husky/prepush.sh",
|
14 | "fmt": "prettier --config config/prettier/.prettierrc '**/*.ts' -l",
|
15 | "fmt:fix": "npm run fmt -- --write",
|
16 | "lint": "tslint -p tsconfig.json -c config/tslint/tslint.json",
|
17 | "lint:fix": "npm run lint -- --fix",
|
18 | "test": "mocha --opts config/mocha/mocha.opts",
|
19 | "test:watch": "npm run test -- --watch --watch-extensions ts",
|
20 | "test:coverage": "nyc npm run test",
|
21 | "test:bundlesize": "bundlesize",
|
22 | "coveralls": "nyc report --reporter=text-lcov | coveralls",
|
23 | "build": "rm -rf dist && npm run build:dev && npm run build:prod",
|
24 | "build:prod": "webpack --config config/webpack/webpack.config.ts --env.production",
|
25 | "build:dev": "webpack --config config/webpack/webpack.config.ts"
|
26 | },
|
27 | "nyc": {
|
28 | "extends": "config/nyc/nycrc.json"
|
29 | },
|
30 | "bundlesize": [
|
31 | {
|
32 | "path": "./dist/main.min.js",
|
33 | "maxSize": "12 kB",
|
34 | "compression": "none"
|
35 | },
|
36 | {
|
37 | "path": "./dist/plugin-joi.min.js",
|
38 | "maxSize": "3 kB",
|
39 | "compression": "none"
|
40 | },
|
41 | {
|
42 | "path": "./dist/plugin-body-parser.min.js",
|
43 | "maxSize": "6 kB",
|
44 | "compression": "none"
|
45 | }
|
46 | ],
|
47 | "devDependencies": {
|
48 | "@types/aws-lambda": "^8.10.17",
|
49 | "@types/body-parser": "^1.17.0",
|
50 | "@types/chai": "^4.1.7",
|
51 | "@types/joi": "^14.0.1",
|
52 | "@types/mocha": "^5.2.5",
|
53 | "@types/node": "^10.12.18",
|
54 | "aws-lambda": "^0.1.2",
|
55 | "bundlesize": "^0.17.0",
|
56 | "chai": "^4.2.0",
|
57 | "coveralls": "^3.0.2",
|
58 | "husky": "^1.3.1",
|
59 | "joi": "^14.3.1",
|
60 | "mocha": "^5.2.0",
|
61 | "nyc": "^13.1.0",
|
62 | "peer-deps-externals-webpack-plugin": "^1.0.4",
|
63 | "prettier": "^1.15.3",
|
64 | "ts-loader": "^5.3.2",
|
65 | "ts-node": "^7.0.1",
|
66 | "tslint": "^5.12.0",
|
67 | "tslint-eslint-rules": "^5.4.0",
|
68 | "typescript": "^3.2.2",
|
69 | "webpack": "^4.28.3",
|
70 | "webpack-cli": "^3.2.0"
|
71 | },
|
72 | "peerDependencies": {
|
73 | "joi": "^14.3.1"
|
74 | },
|
75 | "dependencies": {
|
76 | "content-type": "^1.0.4"
|
77 | },
|
78 | "keywords": [
|
79 | "lambda",
|
80 | "aws-lambda",
|
81 | "lambda-function",
|
82 | "serverless",
|
83 | "middleware"
|
84 | ]
|
85 | }
|