-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
77 lines (77 loc) · 3.15 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
{
"name": "module-name",
"version": "0.0.6",
"description": "module-name description",
"keywords": [
"module-name-keywords"
],
"author": "Tihomir Trifonov",
"license": "MIT",
"repository": "https://github.com/mastermind-0xff/module-name",
"scripts": {
"/** [ GIT commands ]====================================== */": "exit 0",
"git:commit-ok": "git status | grep -q 'nothing to commit'",
"git:add:commit": "git add -A && node ./scripts/commit.js",
"git:confirm-add-commit": "node ./scripts/confirm.js \"Uncommitted changes found. Executing 'git add -A && git commit' before debug.\" && npm run git:add:commit",
"git:stash:drop": "git stash && git stash drop",
"/** [ Cleanup commands ]==================================== */": "exit 0",
"clean:dist": "rimraf --glob dist/*",
"clean:docs": "rimraf --glob docs/*",
"clean:bundle": "npm run clean:dist && npm run clean:docs",
"/** [ Build commands ]====================================== */": "exit 0",
"format": "eslint --fix & prettier . --write",
"lint": "eslint & prettier . --check",
"lint:debug:diff": "echo \"Press q to exit diff\" && git diff",
"lint:debug:prettier": "npm run format && npm run lint:debug:diff",
"lint:debug:write:diff:stash:drop": "npm run lint:debug:prettier && npm run git:stash:drop || echo 'No differences or debug failed.'",
"lint:debug": "(npm run git:commit-ok || npm run git:confirm-add-commit) && npm run lint:debug:write:diff:stash:drop || echo 'Debug failed'",
"build:docs": "typedoc",
"build:types": "tsc --declaration --emitDeclarationOnly --declarationDir dist/types",
"build:rollup": "rollup -c",
"build:bundle": "npm run build:rollup && npm run build:types && npm run build:docs",
"build:clean-bundle": "npm run clean:bundle && npm run build:bundle",
"build": "npm run format && npm run build:clean-bundle",
"/** [ Publish commands ]======================================= */": "exit 0",
"publish:patch": "npm version patch && npm publish",
"/** [ Test commands ]======================================= */": "exit 0",
"test:coverage": "jest --coverage",
"test:e2e": "jest __tests__",
"test:specs": "jest src",
"test": "jest"
},
"main": "./dist/esm/index.js",
"module": "./dist/esm/index.js",
"files": [
"dist"
],
"type": "module",
"types": "./dist/types/index.d.ts",
"exports": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.cjs",
"default": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts"
},
"devDependencies": {
"@eslint/js": "^9.17.0",
"@rollup/plugin-commonjs": "^28.0.2",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-typescript": "^12.1.2",
"@types/jest": "^29.5.14",
"eslint": "^9.17.0",
"globals": "^15.14.0",
"jest": "^29.7.0",
"prettier": "^3.4.2",
"rimraf": "^6.0.1",
"rollup": "^4.30.1",
"rollup-plugin-dts": "^6.1.1",
"ts-jest": "^29.2.5",
"tslib": "^2.8.1",
"tsx": "^4.19.2",
"typedoc": "^0.27.6",
"typedoc-plugin-markdown": "^4.4.1",
"typescript": "^5.7.3",
"typescript-eslint": "^8.19.1"
}
}