/
package.json
107 lines (107 loc) · 2.98 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "@storyofams/next-api-decorators",
"version": "0.0.0-development",
"author": {
"name": "Story of AMS",
"url": "https://storyofams.com",
"email": "dev@storyofams.com"
},
"main": "dist/index.js",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/storyofams/next-api-decorators"
},
"bugs": {
"url": "https://github.com/storyofams/next-api-decorators/issues"
},
"keywords": ["typescript", "next.js", "decorators"],
"scripts": {
"build": "rm -rf dist && npm run build:types && npm run build:js",
"build:types": "tsc -p ./tsconfig.build.json --emitDeclarationOnly",
"build:js": "babel lib --out-dir dist --extensions \".ts\"",
"commit": "./node_modules/cz-customizable/standalone.js",
"test": "jest --coverage",
"test:watch": "jest --watch",
"lint": "eslint \"**/*.+(js|jsx|ts|tsx|mdx)\"",
"ts-coverage": "typescript-coverage-report",
"semantic-release": "semantic-release",
"prepublishOnly": "npm run build"
},
"files": [
"dist"
],
"dependencies": {
"reflect-metadata": "^0.1.13"
},
"peerDependencies": {
"@babel/plugin-proposal-decorators": "7.12.13",
"babel-plugin-parameter-decorator": "1.0.16",
"next": "10.0.5"
},
"devDependencies": {
"@babel/cli": "7.13.10",
"@babel/core": "7.12.10",
"@babel/plugin-proposal-decorators": "7.12.13",
"@babel/runtime-corejs2": "7.13.10",
"@commitlint/cli": "12.0.1",
"@commitlint/config-conventional": "12.0.1",
"@semantic-release/changelog": "5.0.1",
"@storyofams/eslint-config-ams": "1.1.2",
"@types/express": "^4.17.11",
"@types/jest": "^26.0.20",
"@types/supertest": "^2.0.10",
"@typescript-eslint/eslint-plugin": "4.13.0",
"@typescript-eslint/parser": "4.18.0",
"babel-eslint": "10.1.0",
"babel-loader": "8.2.2",
"babel-plugin-parameter-decorator": "1.0.16",
"class-transformer": "0.4.0",
"class-validator": "0.13.1",
"cz-customizable": "git+https://github.com/storyofams/cz-customizable.git#6.3.1",
"eslint": "7.18.0",
"eslint-config-prettier": "7.1.0",
"eslint-import-resolver-alias": "1.1.2",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-prettier": "3.3.1",
"express": "^4.17.1",
"husky": "4.3.8",
"jest": "26.6.3",
"lint-staged": "10.5.4",
"next": "10.0.8",
"prettier": "2.2.1",
"semantic-release": "17.4.2",
"supertest": "^6.1.3",
"ts-jest": "26.5.3",
"typescript": "4.1.3"
},
"publishConfig": {
"access": "public"
},
"eslintConfig": {
"extends": [
"@storyofams/eslint-config-ams/node"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"config": {
"commitizen": {
"path": "node_modules/cz-customizable"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"**/*.+(js|jsx|ts|tsx|mdx)": [
"eslint --fix"
]
}
}