-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
55 lines (55 loc) · 1.79 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
{
"name": "@bust/periodical",
"description": "Run a function at a given interval normalized to clock time",
"version": "1.0.0",
"author": "Busticated",
"license": "(MIT OR Apache-2.0)",
"publishConfig": {
"access": "public"
},
"type": "module",
"main": "./dist/commonjs/index.js",
"types": "./dist/commonjs/index.d.ts",
"files": [
"CHANGELOG.md",
"LICENSE.md",
"dist/**/!(*.test.js)"
],
"tshy": {
"exports": {
"./package.json": "./package.json",
".": "./src/index.ts"
}
},
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/commonjs/index.d.ts",
"default": "./dist/commonjs/index.js"
}
}
},
"scripts": {
"version": "npm run changelog:update && npm run docs:build",
"prepare": "npm run build",
"test": "npm run build && NODE_V8_COVERAGE=tmp/coverage node --test --test-reporter spec --experimental-test-coverage --enable-source-maps dist/esm/*.test.js",
"typecheck": "tsc --noemit",
"build": "tshy",
"clean": "rm -rf ./dist && rm -rf ./tmp/*",
"clean:modules": "rm -rf ./node_modules",
"docs:build": "npm run docs:build:api && npm run docs:build:readme",
"docs:build:api": "typedoc --plugin typedoc-plugin-markdown --hideBreadcrumbs true --githubPages false --sourceLinkTemplate '/{path}#L{line}' --readme none src/index.ts",
"docs:build:readme": "node ../../bin/update-package-readme.mjs @bust/periodical",
"changelog:show": "node ../../bin/show-unpublished-changes.mjs @bust/periodical",
"changelog:update": "node ../../bin/update-changelog.mjs @bust/periodical"
},
"engines": {
"node": ">=18",
"npm": "10.x"
}
}