forked from martijnversluis/ChordSheetJS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
93 lines (93 loc) · 4.11 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
{
"name": "chordsheetjs",
"author": "Martijn Versluis",
"version": "8.6.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",
"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",
"@parcel/packager-ts": "2.12.0",
"@parcel/transformer-typescript-types": "2.12.0",
"@types/jest": "^27.4.1",
"@types/lodash.get": "^4.4.7",
"@types/node": "^20.1.2",
"@typescript-eslint/eslint-plugin": "^5.18.0",
"@typescript-eslint/parser": "^5.18.0",
"browserify": "^17.0.0",
"detect-newline": "^4.0.1",
"eslint": "^8.12.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.26.0",
"husky": "^8.0.1",
"jest": "^27.0.1",
"jsdoc-babel": "^0.5.0",
"jsdoc-to-markdown": "^8.0.0",
"parcel": "^2.4.1",
"parcel-transformer-hbs": "^1.0.4",
"peggy": "^2.0.1",
"pinst": "^3.0.0",
"print": "^1.2.0",
"theredoc": "^1.0.0",
"ts-jest": "^27.1.4",
"ts-node": "^10.7.0",
"ts-pegjs": "^3.0.0",
"tsc": "^2.0.4",
"typescript": "^4.6.3"
},
"scripts": {
"build:suffix-normalize": "rm -rf src/normalize_mappings/suffix-normalize-mapping.ts && ts-node src/normalize_mappings/generate-suffix-normalize-mapping.ts",
"build:chord-suffix-grammar": "ts-node script/generate_chord_suffix_grammar.ts",
"build:pegjs:chordpro": "peggy --plugin ts-pegjs -o src/parser/chord_pro_peg_parser.ts src/parser/chord_pro_grammar.pegjs",
"build:pegjs:chords-over-words": "ts-node script/generate_parser.ts chords_over_words",
"build:pegjs:chord": "ts-node script/combine_files.ts src/parser/chord_grammar.pegjs src/parser/chord_suffix_grammar.pegjs src/parser/chord_combined_grammer.pegjs && peggy --plugin ts-pegjs -o src/parser/chord_peg_parser.ts src/parser/chord_combined_grammer.pegjs",
"build:pegjs": "yarn build:pegjs:chord && yarn build:pegjs:chordpro && yarn build:pegjs:chords-over-words",
"build:scales": "ts-node script/generate_scales.ts && yarn eslint:fix src/scales.ts",
"build:code-generate": "yarn build:suffix-normalize && yarn build:chord-suffix-grammar && yarn build:pegjs && yarn build:scales",
"build:sources": "parcel build",
"build:browserify": "browserify lib/index.js --outfile lib/bundle.js --standalone ChordSheetJS",
"build:check-types": "tsc lib/main.d.ts",
"build": "yarn build:code-generate && yarn build:sources && yarn build:browserify && yarn build:check-types",
"dev": "parcel watch --no-cache",
"jest": "jest",
"test": "yarn lint && yarn jest",
"jest:watch": "jest --watch",
"jest:debug": "bin/open_inspector && node --nolazy --inspect-brk ./node_modules/jest/bin/jest.js --runInBand --colors --verbose",
"eslint": "node_modules/.bin/eslint -c .eslintrc.js --ext .ts",
"eslint:fix": "yarn eslint --fix",
"prelint": "yarn build:code-generate",
"lint": "yarn prelint && yarn eslint .",
"lint:fix": "yarn prelint && yarn eslint:fix .",
"clean": "rm -rf node_modules && rm -rf lib",
"readme": "jsdoc2md -f src/**/*.ts -f src/*.ts --configure ./jsdoc2md.json --template doc/README.hbs > README.md",
"prepublishOnly": "pinst --disable && yarn install && yarn test && yarn build",
"postpublish": "pinst --enable",
"pretest": "yarn build:code-generate",
"prepare": "husky install",
"postinstall": "husky install",
"ci": "yarn install && yarn lint && yarn test && yarn build && yarn readme"
},
"dependencies": {
"lodash.get": "^4.4.2"
}
}