-
-
Notifications
You must be signed in to change notification settings - Fork 51
/
package.json
102 lines (102 loc) · 3.81 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
{
"name": "chordsheetjs",
"author": "Martijn Versluis",
"version": "10.4.0",
"description": "A JavaScript library for parsing and formatting chord sheets",
"source": "src/index.ts",
"main": "lib/index.js",
"module": "lib/module.js",
"types": "./lib/main.d.ts",
"files": [
"/lib"
],
"license": "GPL-2.0-only",
"repository": {
"type": "git",
"url": "https://github.com/martijnversluis/ChordSheetJS.git"
},
"bugs": {
"url": "https://github.com/martijnversluis/ChordSheetJS/issues"
},
"homepage": "https://github.com/martijnversluis/ChordSheetJS",
"engines": {
"node": ">=16"
},
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.17.9",
"@babel/helper-get-function-arity": "^7.16.7",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-proposal-object-rest-spread": "^7.17.3",
"@babel/preset-env": "^7.16.11",
"@babel/preset-typescript": "^7.16.7",
"@eslint/core": "^0.8.0",
"@eslint/js": "^9.11.0",
"@martijnversluis/unibuild": "0.3.3",
"@parcel/packager-ts": "2.12.0",
"@parcel/transformer-typescript-types": "2.12.0",
"@types/eslint__js": "^8.42.3",
"@types/jest": "^27.4.1",
"@types/lodash.get": "^4.4.7",
"@types/node": "^22.0.0",
"detect-newline": "^4.0.1",
"esbuild": "^0.24.0",
"eslint": "^9.11.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-jest": "^28.8.3",
"globals": "^15.9.0",
"husky": "^9.0.11",
"jest": "^27.0.1",
"jsdoc-babel": "^0.5.0",
"jsdoc-to-markdown": "^9.0.1",
"parcel": "^2.4.1",
"parcel-transformer-hbs": "^1.0.4",
"peggy": "^4.0.2",
"pegjs-backtrace": "^0.2.1",
"pinst": "^3.0.0",
"print": "^1.2.0",
"puppeteer": "^23.1.0",
"shx": "^0.3.4",
"theredoc": "^1.0.0",
"ts-jest": "^29.2.3",
"ts-node": "^10.9.2",
"ts-pegjs": "^3.0.0",
"tsc": "^2.0.4",
"tsx": "^4.10.5",
"typescript": "^5.6.2",
"typescript-eslint": "^8.6.0"
},
"scripts": {
"build": "yarn build:code-generate && yarn build:sources && yarn build:bundle && yarn build:check-types",
"build:bundle": "yarn build:bundle:default && yarn build:bundle:min",
"build:bundle:default": "esbuild lib/index.js --outfile=lib/bundle.js --bundle --global-name=ChordSheetJS",
"build:bundle:min": "esbuild lib/index.js --outfile=lib/bundle.min.js --bundle --global-name=ChordSheetJS --minify-whitespace --minify-identifiers --minify-syntax",
"build:check-types": "tsc lib/main.d.ts",
"build:code-generate": "yarn unibuild",
"build:sources": "parcel build",
"ci": "yarn install && yarn lint && yarn test && yarn build && yarn readme",
"clean": "shx rm -rf node_modules && shx rm -rf lib",
"debug:chordpro": "tsx script/debug_parser.ts chord_pro --skip-chord-grammar",
"dev": "parcel watch --no-cache",
"jest:debug": "bin/open_inspector && node --nolazy --inspect-brk ./node_modules/jest/bin/jest.js --runInBand --colors --verbose",
"jest:run": "jest",
"jest:run:exp": "node --experimental-vm-modules node_modules/.bin/jest",
"jest:watch": "jest --watch",
"lint": "yarn prelint && yarn linter:run .",
"lint:fix": "yarn prelint && yarn linter:fix .",
"linter:fix": "yarn linter:run --fix",
"linter:run": "yarn eslint",
"postpublish": "pinst --enable",
"prelint": "yarn pretest",
"prepare": "husky install",
"prepublish": "pinst --disable && yarn install && yarn test && yarn build:code-generate",
"pretest": "NODE_ENV=test yarn build:code-generate",
"readme": "node_modules/.bin/jsdoc2md -f src/**/*.ts -f src/*.ts --configure ./jsdoc2md.json --template doc/README.hbs > README.md",
"test": "yarn pretest && yarn linter:run && yarn jest:run",
"unibuild": "tsx ./unibuild.ts"
},
"dependencies": {
"lodash.get": "^4.4.2"
},
"packageManager": "[email protected]"
}