Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
89 lines (89 loc) · 2.59 KB
/
Copy pathpackage.json
File metadata and controls
89 lines (89 loc) · 2.59 KB
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
{
"name": "@javascript-utilities/guarded-set-interval",
"version": "0.0.1",
"description": "Set interval wrapper with re-entry guard",
"main": "./targets/mjs/index.mjs",
"module": "./targets/mjs/index.mjs",
"types": "./targets/types/index.d.ts",
"exports": {
".": {
"types": "./targets/types/index.d.ts",
"import": "./targets/mjs/index.mjs",
"require": "./targets/cjs/index.js"
}
},
"scripts": {
"test": "jest",
"build:all": "npm run build:cjs && npm run build:mjs && npm run docs && npm run types",
"build:cjs": "tsup --config .config/tsup/tsup.cjs.config.ts",
"build:mjs": "tsup --config .config/tsup/tsup.mjs.config.ts",
"check": "tsc --project tsconfig.json --noEmit",
"clean:all": "npm run clean:cjs ; npm run clean:docs ; npm run clean:mjs ; npm run clean:types",
"clean:cjs": "rm -r targets/cjs",
"clean:docs": "rm -r docs/api",
"clean:jest": "jest --clearCache",
"clean:mjs": "rm -r targets/mjs",
"clean:types": "rm -r targets/types",
"docs": "typedoc --tsconfig .config/tsc/tsconfig.docs.json",
"lint": "npx eslint",
"types": "tsup --config .config/tsup/tsup.types.config.ts",
"prepublishOnly": "npm run clean:all ; npm run check && npm run lint && npm run build:all"
},
"repository": {
"type": "git",
"url": "git+https://github.com/javascript-utilities/guarded-set-interval.git"
},
"keywords": ["javascript", "setInterval", "re-entry"],
"author": "S0AndS0",
"license": "AGPL-3.0",
"bugs": {
"url": "https://github.com/javascript-utilities/guarded-set-interval/issues"
},
"prettier": {
"trailingComma": "es5",
"printWidth": 100,
"useTabs": true,
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"bracketSpacing": true,
"overrides": [
{
"files": ["**/*.sh"],
"options": {
"tabWidth": 2,
"useTabs": true,
"printWidth": 100
}
},
{
"files": ["**/*.yml"],
"options": {
"tabWidth": 2,
"useTabs": false
}
}
]
},
"homepage": "https://github.com/javascript-utilities/guarded-set-interval#readme",
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^20.14.12",
"@typescript-eslint/eslint-plugin": "^7.17.0",
"@typescript-eslint/parser": "^7.17.0",
"eslint": "^8.57.0",
"jest": "^29.7.0",
"ts-jest": "^29.2.3",
"tsup": "^8.2.2",
"typedoc": "^0.26.5",
"typedoc-plugin-markdown": "^4.2.3",
"typedoc-plugin-missing-exports": "^3.0.0",
"typescript": "^5.5.4"
},
"workspaces": ["examples/mts_node_ticker"],
"files": ["docs", "targets/cjs", "targets/mjs", "targets/types"],
"funding": {
"type": "individual",
"url": "https://liberapay.com/javascript-utilities/"
}
}