-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
92 lines (92 loc) · 2.73 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
89
90
91
92
{
"name": "@esmj/task",
"version": "0.4.0",
"description": "Tiny task management library which divide long task. Improve core web vitals and browser responsiveness.",
"keywords": [
"task",
"long task",
"performance",
"responsiveness",
"core web vitals",
"INP"
],
"main": "dist/index",
"module": "dist/index",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"sideEffects": false,
"typings": "dist/index.d.ts",
"scripts": {
"lint:cmd": "eslint -c ./.eslintrc.js --ignore-path ./.prettierignore --no-eslintrc",
"lint": "npm run lint:cmd -- 'src/**/*.ts'",
"lint:fix": "npm run lint -- --fix",
"dev": "node_modules/.bin/tsup --dts --watch --onSuccess 'node ./dist/index.mjs'",
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules ./node_modules/.bin/jest --no-watchman",
"test:watch": "npm run test -- --watchAll",
"preversion": "npm test && npm run lint && npm run build",
"version": "npm run changelog && git add CHANGELOG.md",
"postversion": "git push && git push --tags",
"commit": "node_modules/.bin/git-cz",
"changelog": "node_modules/.bin/conventional-changelog -p angular -i CHANGELOG.md -s -r 1",
"build": "node_modules/.bin/tsup --dts",
"prepare": "husky install"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mjancarik/esmj-task.git"
},
"author": "Miroslav Jancarik",
"license": "MIT",
"bugs": {
"url": "https://github.com/mjancarik/esmj-task/issues"
},
"lint-staged": {
"**/*.{ts,js,mjs}": "npm run lint:cmd"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"config": {
"commitizen": {
"path": "git-cz"
}
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"homepage": "https://github.com/mjancarik/esmj-task#readme",
"devDependencies": {
"@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.7.0",
"@types/jest": "^29.5.4",
"@types/node": "^20.5.7",
"@typescript-eslint/eslint-plugin": "^6.5.0",
"@typescript-eslint/parser": "^6.5.0",
"commitizen": "^4.3.0",
"coveralls": "^3.1.1",
"cross-env": "^7.0.3",
"conventional-changelog-cli": "^4.0.0",
"cz-conventional-changelog": "^3.3.0",
"esbuild-jest": "^0.5.0",
"eslint": "^8.48.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-jasmine": "^4.1.3",
"eslint-plugin-jest": "^27.2.3",
"eslint-plugin-prettier": "^5.0.0",
"git-cz": "^4.9.0",
"husky": "^8.0.3",
"jest": "^29.6.4",
"jest-config": "^29.6.4",
"lint-staged": "^14.0.1",
"prettier": "^3.0.2",
"to-mock": "^1.6.2",
"tsup": "^7.2.0"
}
}