-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
40 lines (40 loc) · 1.17 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
{
"name": "ts-package-template",
"version": "1.0.0",
"private": true,
"description": "A simple template for creating TS packages",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
},
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"scripts": {
"build": "rm -rf dist/* && tsc -p tsconfig.cjs.json && tsc -p tsconfig.esm.json && bash ./fixup.sh",
"fixup": "bash ./fixup.sh",
"format": "prettier --write .",
"lint": "eslint --ext .js,.ts ./",
"type-check": "tsc -p ./tsconfig.json --noEmit",
"prepare": "husky install",
"prepublishOnly": "npm run build"
},
"keywords": [],
"author": "Abdulramon Jemil",
"license": "MIT",
"devDependencies": {
"@types/node": "^20.3.1",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"eslint": "^8.2.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.25.2",
"husky": "^8.0.3",
"lint-staged": "^13.2.2",
"prettier": "^2.8.8",
"typescript": "^5.1.3"
}
}