-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
118 lines (118 loc) · 3.13 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"name": "reversible-effect",
"title": "reversible effect",
"version": "2.0.1",
"description": "A collection of typed utility functions returning a callback to reverse their effect.",
"main": "./dist/reversible.umd.js",
"module": "./dist/reversible.esm.js",
"types": "./dist/index.d.ts",
"files": [
"dist",
"README.md",
"LICENSE.md"
],
"keywords": [
"javascript",
"typescript",
"utilities",
"utility",
"effect",
"addEventListener",
"setTimeout",
"setInterval",
"requestAnimationFrame",
"requestIdleCallback",
"setImmediate"
],
"scripts": {
"start": "npm run dev",
"build": "rollup --config rollup.config.ts --configPlugin ts",
"dev": "npm run build -- --watch",
"test": "jest & tsd",
"test:watch": "jest --watch",
"lint": "eslint src/**/*.ts",
"lint:fix": "npm run lint -- --fix",
"prettier": "prettier --check ./src",
"prettier:fix": "prettier --write ./src",
"toc-generate": "markdown-toc -i README.md",
"toc-check": "npm run toc-generate && git diff --exit-code README.md || (echo 'Error: README.md has changed after generating TOC. Please commit the changes.' && exit 1)",
"scripts:update-deps": "npx npm-check --skip-unused -u",
"scripts:check-git": "git diff-index --quiet HEAD -- || (echo 'Error: Git repository is not clean. Please commit or stash changes.' && exit 1)",
"release:patch": "npm version patch",
"release:minor": "npm version minor",
"release:major": "npm version major",
"preversion": "npm run scripts:check-git && git pull",
"postversion": "git push && git push --tags"
},
"repository": {
"type": "git",
"url": "git+https://github.com/janpaepke/reversible-effect.git"
},
"author": {
"name": "Jan Paepke",
"url": "https://janpaepke.de"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/janpaepke/reversible-effect/issues"
},
"contributors": [],
"homepage": "https://github.com/janpaepke/reversible-effect#readme",
"devDependencies": {
"@rollup/plugin-terser": "^0.4.4",
"@types/jest": "^29.5.12",
"@typescript-eslint/eslint-plugin": "^7.6.0",
"@typescript-eslint/parser": "^7.6.0",
"agadoo": "^3.0.0",
"eslint": "^8.53.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"prettier": "^3.2.5",
"rollup": "^4.14.2",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-filesize": "^10.0.0",
"rollup-plugin-license": "^3.3.1",
"rollup-plugin-ts": "^3.4.5",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"tsd": "^0.31.0",
"typescript": "^5.4.5",
"markdown-toc": "^1.2.0"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 9,
"sourceType": "module",
"ecmaFeatures": {
"impliedStrict": true
}
},
"env": {
"es6": true,
"node": true,
"browser": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"plugins": [
"@typescript-eslint"
]
},
"prettier": {
"semi": true,
"useTabs": true,
"printWidth": 120,
"bracketSpacing": true,
"arrowParens": "avoid",
"htmlWhitespaceSensitivity": "css",
"endOfLine": "auto",
"singleQuote": true,
"trailingComma": "es5"
},
"tsd": {
"directory": "test"
}
}