-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
99 lines (99 loc) · 2.72 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
{
"name": "jisg",
"version": "0.9.999",
"description": "Implementations of select OEIS integer sequences in JavaScript.",
"keywords": [
"integer",
"sequence",
"generator",
"math",
"OEIS",
"BigInt",
"JavaScript",
"TypeScript"
],
"type": "module",
"homepage": "https://github.com/acerix/jisg#readme",
"repository": "git+https://github.com/acerix/jisg.git",
"bugs": {
"url": "https://github.com/acerix/jisg/issues"
},
"source": "src/index.ts",
"main": "dist/index.cjs",
"module": "dist/index.module.js",
"exports": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"default": "./dist/index.modern.mjs"
},
"types": "./dist/index.d.ts",
"umd:main": "dist/index.umd.js",
"browser": "dist/index.umd.js",
"cdn": "dist/index.umd.js",
"unpkg": "dist/index.umd.js",
"jsdelivr": "dist/index.umd.js",
"bin": "./dist/cli.js",
"engines": {
"node": ">14"
},
"scripts": {
"dev": "yarn test --watch",
"build:bundle": "microbundle build --external none --compress",
"build:widget": "microbundle build",
"build:lib": "microbundle build -i src/component.tsx",
"build:cli": "esbuild src/cli.ts --bundle --platform=node --minify --sourcemap=external --outfile=dist/cli.js",
"lint": "eslint '{src,tests}/**/*.{ts,tsx}'",
"test": "jest",
"doc": "typedoc src/",
"prebuild": "echo \"export default '$(node -p \"require('./package.json').version\")'\" > src/version.ts",
"build": "yarn build:bundle",
"prepublish": "yarn prebuild && yarn doc && yarn lint && yarn test --coverage && yarn build",
"publish": "yarn npm publish",
"cli": "ts-node src/cli.ts",
"demo": "node demo.js"
},
"files": [
"dist"
],
"prettier": {
"trailingComma": "es5",
"tabWidth": 2,
"semi": false,
"singleQuote": true
},
"author": "Dylan Ferris <dylan@psilly.com>",
"license": "GPL-3.0",
"funding": "https://github.com/sponsors/acerix",
"jest": {
"preset": "ts-jest",
"resolver": "ts-jest-resolver",
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
}
},
"packageManager": "yarn@3.6.3",
"devDependencies": {
"@eslint/js": "^9.7.0",
"@types/jest": "^29.5.12",
"@types/node": "^20.14.11",
"@typescript-eslint/eslint-plugin": "^7.17.0",
"@typescript-eslint/parser": "^7.17.0",
"eslint": "9.x",
"globals": "^15.8.0",
"jest": "^29.7.0",
"microbundle": "^0.15.1",
"ts-jest": "^29.2.3",
"ts-jest-resolver": "^2.0.1",
"typedoc": "^0.26.5",
"typescript": "^5.5.4",
"typescript-eslint": "^7.17.0"
},
"dependencies": {
"caniuse-lite": "^1.0.30001643"
}
}