-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 2.21 KB
/
package.json
File metadata and controls
73 lines (73 loc) · 2.21 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
{
"name": "@gmod/bed",
"version": "2.1.10",
"description": "A BED file format parser with autoSql support",
"license": "MIT",
"repository": "github:GMOD/bed-js",
"type": "module",
"types": "./dist/index.d.ts",
"exports": {
"import": {
"import": "./esm/index.js"
},
"require": {
"require": "./dist/index.js"
}
},
"author": {
"name": "Colin Diesh",
"email": "colin.diesh@gmail.com",
"url": "https://github.com/cmdcolin"
},
"homepage": "https://github.com/GMOD/bed-js",
"bugs": {
"url": "https://github.com/GMOD/bed-js/issues"
},
"files": [
"dist",
"esm",
"src"
],
"engines": {
"node": ">=6"
},
"scripts": {
"test": "vitest",
"lint": "eslint --report-unused-disable-directives --max-warnings 0 src test",
"clean": "rimraf dist esm",
"format": "prettier --write .",
"generate": "pegjs -o src/autoSql.js autoSql.pegjs && node -e \"const fs=require('fs');const f='src/autoSql.js';fs.writeFileSync(f,fs.readFileSync(f,'utf8').replace(/module\\.exports\\s*=\\s*\\{[^}]+\\};?/,'export { peg\\$SyntaxError as SyntaxError, peg\\$parse as parse };\\nexport default { SyntaxError: peg\\$SyntaxError, parse: peg\\$parse };'))\"",
"build:esm": "tsc --module nodenext --moduleResolution nodenext --outDir esm",
"build:es5": "tsc --module commonjs --outDir dist",
"build": "yarn build:esm && yarn build:es5",
"prebuild": "yarn clean",
"postbuild:es5": "echo '{\"type\": \"commonjs\"}' > dist/package.json",
"preversion": "yarn lint && yarn test --run && yarn build",
"version": "standard-changelog && git add CHANGELOG.md",
"postversion": "git push --follow-tags"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^8.53.0",
"@typescript-eslint/parser": "^8.53.0",
"@vitest/coverage-v8": "^4.0.17",
"eslint": "^9.39.2",
"eslint-plugin-import": "^2.32.0",
"pegjs": "^0.10.0",
"prettier": "^3.8.0",
"rimraf": "^6.1.2",
"standard-changelog": "^7.0.1",
"typescript": "^5.9.3",
"typescript-eslint": "^8.53.0",
"vitest": "^4.0.17"
},
"keywords": [
"bed",
"autosql",
"genomics",
"bionode",
"biojs"
],
"publishConfig": {
"access": "public"
}
}