chordsheetjs 9.0.1 → 9.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/bundle.js +28216 -27059
- package/lib/bundle.min.js +183 -0
- package/lib/index.js +17 -5
- package/lib/index.js.map +1 -1
- package/lib/module.js +17 -5
- package/lib/module.js.map +1 -1
- package/package.json +6 -5
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "chordsheetjs",
|
|
3
3
|
"author": "Martijn Versluis",
|
|
4
|
-
"version": "9.0.
|
|
4
|
+
"version": "9.0.2",
|
|
5
5
|
"description": "A JavaScript library for parsing and formatting chord sheets",
|
|
6
6
|
"source": "src/index.ts",
|
|
7
7
|
"main": "lib/index.js",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"@types/node": "^20.1.2",
|
|
35
35
|
"@typescript-eslint/eslint-plugin": "^5.18.0",
|
|
36
36
|
"@typescript-eslint/parser": "^5.18.0",
|
|
37
|
-
"browserify": "^17.0.0",
|
|
38
37
|
"detect-newline": "^4.0.1",
|
|
38
|
+
"esbuild": "^0.20.2",
|
|
39
39
|
"eslint": "^8.12.0",
|
|
40
40
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
41
41
|
"eslint-plugin-import": "^2.26.0",
|
|
@@ -65,9 +65,11 @@
|
|
|
65
65
|
"build:scales": "ts-node script/generate_scales.ts && yarn eslint:fix src/scales.ts",
|
|
66
66
|
"build:code-generate": "yarn build:suffix-normalize && yarn build:chord-suffix-grammar && yarn build:pegjs && yarn build:scales",
|
|
67
67
|
"build:sources": "parcel build",
|
|
68
|
-
"build:
|
|
68
|
+
"build:bundle": "yarn build:bundle:default && yarn build:bundle:min",
|
|
69
|
+
"build:bundle:default": "esbuild lib/index.js --outfile=lib/bundle.js --bundle --global-name=ChordSheetJS",
|
|
70
|
+
"build:bundle:min": "esbuild lib/index.js --outfile=lib/bundle.min.js --bundle --global-name=ChordSheetJS --minify-whitespace --minify-identifiers --minify-syntax",
|
|
69
71
|
"build:check-types": "tsc lib/main.d.ts",
|
|
70
|
-
"build": "yarn build:code-generate && yarn build:sources && yarn build:
|
|
72
|
+
"build": "yarn build:code-generate && yarn build:sources && yarn build:bundle && yarn build:check-types",
|
|
71
73
|
"dev": "parcel watch --no-cache",
|
|
72
74
|
"jest": "jest",
|
|
73
75
|
"test": "yarn lint && yarn jest",
|
|
@@ -84,7 +86,6 @@
|
|
|
84
86
|
"postpublish": "pinst --enable",
|
|
85
87
|
"pretest": "yarn build:code-generate",
|
|
86
88
|
"prepare": "husky install",
|
|
87
|
-
"_postinstall": "husky install",
|
|
88
89
|
"ci": "yarn install && yarn lint && yarn test && yarn build && yarn readme"
|
|
89
90
|
},
|
|
90
91
|
"dependencies": {
|