generated from Cadienvan/npm-package-ts-scaffolding
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
65 lines (65 loc) · 2.23 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": "@jointly/object-loudifier",
"private": false,
"version": "2.1.2",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.js"
},
"./package.json": "./package.json"
},
"scripts": {
"ts-types": " tsc --emitDeclarationOnly --outDir dist",
"check": "npm run prettier && npm run lint && npm test",
"build": "npm run check && rimraf dist && NODE_ENV=production node esbuild.js && npm run ts-types",
"demo-test": "for file in demo/*.js; do node $file; done",
"prettier": "prettier --write ./src",
"lint": "eslint ./src --ext .ts",
"dev": "jest --watch",
"test": "jest --no-cache",
"coverage": "jest --coverage",
"benchmark": "npx ts-node ./src/benchmark.ts",
"release:common": "npm run build && git push --follow-tags origin main && npm publish --access public",
"release:patch": "changelog -p && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version patch && npm run release:common",
"release:minor": "changelog -m && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version minor && npm run release:common",
"release:major": "changelog -M && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version major && npm run release:common"
},
"prepare": "npm run build",
"devDependencies": {
"@commitlint/cli": "^17.3.0",
"@commitlint/config-conventional": "^17.3.0",
"@types/jest": "^29.2.4",
"@types/node": "^18.11.12",
"@typescript-eslint/eslint-plugin": "^5.46.0",
"@typescript-eslint/parser": "^5.46.0",
"esbuild": "^0.16.4",
"eslint": "^8.29.0",
"generate-changelog": "^1.8.0",
"husky": "^8.0.2",
"jest": "^29.3.1",
"lint-staged": "^13.1.0",
"prettier": "^2.8.1",
"rimraf": "^3.0.2",
"ts-jest": "^29.0.3",
"typescript": "^4.9.4"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"npx prettier --write",
"npx eslint --fix"
]
},
"repository": {
"type": "git",
"url": "git://github.com/JointlyTech/object-loudifier.git"
},
"license": "MIT",
"author": "Jointly <[email protected]>"
}