generated from distinction-dev/ts-backend-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
88 lines (88 loc) · 2.43 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
{
"name": "@distinction-dev/backend-package-name",
"version": "0.0.0-development",
"description": "Template repository for us to use to create TS based backend packages",
"scripts": {
"clean": "rm -rf ./lib/",
"build": "npm run clean && npm run build:esm && npm run build:cjs",
"build:esm": "tsc -p ./tsconfig.esm.json && mv lib/esm/index.js lib/esm/index.mjs",
"build:cjs": "tsc -p ./tsconfig.cjs.json",
"cm": "cz",
"coverage": "codecov",
"lint": "eslint ./src/ --fix",
"prepare": "husky install",
"semantic-release": "semantic-release",
"type-check": "tsc --noEmit",
"test": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register 'tests/**/*.ts'"
},
"main": "./lib/src/index.js",
"files": [
"lib/**/*"
],
"exports": {
".": {
"import": {
"types": "./lib/esm/types/index.d.ts",
"default": "./lib/esm/index.mjs"
},
"require": {
"types": "./lib/cjs/types/index.d.ts",
"default": "./lib/cjs/index.js"
}
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/distinction-dev/package-name.git"
},
"license": "MIT",
"author": {
"name": "Himanshu Pant",
"email": "himanshupant127@gmail.com",
"url": "https://github.com/killdozerx2"
},
"keywords": [
"firebase",
"frontend",
"typescript"
],
"bugs": {
"url": "https://github.com/distinction-dev/package-name/issues"
},
"homepage": "https://github.com/distinction-dev/package-name#readme",
"devDependencies": {
"@types/chai": "^4.3.3",
"@types/mocha": "^10.0.0",
"@types/node": "^12.20.11",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"chai": "^4.3.6",
"codecov": "^3.8.3",
"commitizen": "^4.2.4",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.25.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.4.0",
"husky": "^6.0.0",
"lint-staged": "^10.5.4",
"mocha": "^10.1.0",
"prettier": "^2.2.1",
"semantic-release": "^19.0.2",
"ts-node": "^10.9.1",
"typescript": "^4.9.0-dev.20220916"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"lint-staged": {
"*.ts": "eslint --cache --cache-location .eslintcache --fix"
},
"release": {
"branches": [
"main"
]
}
}