forked from bashleigh/typeorm-polymorphic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
65 lines (65 loc) · 1.5 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
{
"name": "typeorm-polymorphic",
"version": "1.0.0",
"main": "./dist/index.js",
"author": {
"name": "Ashleigh Simonelli",
"email": "[email protected]",
"url": "http://ashleighsimonelli.co.uk"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/bashleigh/typeorm-polymorphic"
},
"description": "A repository for building typed polymorphic relationships",
"keywords": [
"nestjs",
"typeorm",
"polymorphic",
"relationships",
"decorators",
"mysql"
],
"scripts": {
"format": "prettier --write \"src/**/*.ts\"",
"build": "rm -rf ./dist && tsc && npm run build:index",
"build:index": "rm -rf ./index.js ./index.d.ts && tsc -d --skipLibCheck ./index.ts",
"prepublish": "npm run format && npm run build",
"test": "jest"
},
"devDependencies": {
"@types/jest": "^26.0.19",
"@types/node": "^14.14.14",
"dotenv": "^8.2.0",
"husky": "^4.3.6",
"jest": "^26.6.3",
"mysql": "^2.18.1",
"prettier": "^2.2.1",
"reflect-metadata": "^0.1.13",
"ts-jest": "^26.4.4",
"typeorm": "^0.3.12",
"typescript": "^4.1.3"
},
"peerDependencies": {
"typeorm": "^0.3.0"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage"
},
"husky": {
"hooks": {
"pre-commit": "yarn format"
}
}
}