-
-
Notifications
You must be signed in to change notification settings - Fork 52
/
Copy pathpackage.json
77 lines (77 loc) · 3.35 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
{
"name": "chordsheetjs",
"author": "Martijn Versluis",
"version": "6.2.0",
"description": "A JavaScript library for parsing and formatting chord sheets",
"source": "src/index.ts",
"main": "lib/index.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/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.4.1",
"@parcel/transformer-typescript-types": "2.4.1",
"@types/jest": "^27.4.1",
"@types/node": "^17.0.24",
"@typescript-eslint/eslint-plugin": "^5.18.0",
"@typescript-eslint/parser": "^5.18.0",
"browserify": "^17.0.0",
"eslint": "^8.12.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.26.0",
"husky": "^7.0.0",
"jest": "^27.0.1",
"jsdoc-babel": "^0.5.0",
"jsdoc-to-markdown": "^7.1.1",
"parcel": "^2.4.1",
"parcel-transformer-hbs": "^1.0.4",
"peggy": "^1.2.0",
"pinst": "^3.0.0",
"print": "^1.2.0",
"ts-jest": "^27.1.4",
"ts-node": "^10.7.0",
"ts-pegjs": "^1.2.2",
"typescript": "^4.6.3"
},
"scripts": {
"build:template": "handlebars \"src/formatter/templates/$TEMPLATE.hbs\" -f \"src/formatter/templates/$TEMPLATE.js\" --extension hbs --commonjs handlebars --known each --known if --known with --known paragraphClasses --known isChordLyricsPair --known isTag --known isComment --known shouldRenderLine --known hasChordContents --known lineHasContents --known lineClasses --known toUpperCase --known paragraphClasses",
"build:templates": "TEMPLATE=html_div_formatter yarn build:template && TEMPLATE=html_table_formatter yarn build:template",
"build:suffix-normalize": "rm -rf src/normalize_mappings/suffix-normalize-mapping.ts && ts-node src/normalize_mappings/generate-suffix-normalize-mapping.ts",
"build:pegjs": "peggy --plugin ./node_modules/ts-pegjs -o src/parser/chord_pro_peg_parser.ts src/parser/chord_pro_grammar.pegjs",
"build:code-generate": "yarn build:suffix-normalize && yarn build:templates && yarn build:pegjs",
"build:sources": "parcel build",
"build:browserify": "browserify lib/index.js --outfile lib/bundle.js --standalone ChordSheetJS",
"build": "yarn build:code-generate && yarn build:sources && yarn build:browserify",
"jest": "jest",
"test": "yarn lint && yarn jest",
"eslint": "node_modules/.bin/eslint --ext .ts .",
"lint": "yarn build:code-generate && yarn eslint",
"lint:fix": "node_modules/.bin/eslint --fix --ext .ts .",
"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"
},
"dependencies": {
"handlebars": "^4.7.6",
"lodash.get": "^4.4.2"
}
}