/
package.json
95 lines (95 loc) · 3.12 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
{
"name": "scribbletune",
"version": "5.0.2",
"description": "Create music with JavaScript and Node.js!",
"main": "./index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"exports": {
".": "./dist/index.js",
"./max": "./dist/max.js",
"./browser": "./dist/browser.js"
},
"scripts": {
"clean": "rm -rf dist && rm -rf docs && rm -rf lib && rm -f browser.js* index.d.ts index.js* max.js* typedoc-out.json",
"doc": "npx typedoc --out docs src/ src/typings.d.ts",
"doc:json": "npx typedoc --json typedoc-out.json src",
"lint": "eslint src tests -c .eslintrc --ext .ts",
"lint:fix": "eslint src tests -c .eslintrc --ext .ts --fix",
"test": "jest --config ./jest.config.js",
"test:coverage": "jest --config ./jest.config.js --coverage",
"test:watch": "jest --config ./jest.config.js --watch",
"build:node": "npx webpack --mode=production",
"build:browser": "cross-env TARGET=browser npx webpack --mode=production",
"build:cdn": "cross-env TARGET=cdn npx webpack --mode=production",
"build:max": "cross-env TARGET=max npx webpack --mode=production",
"build": "npm run build:node && npm run build:browser && npm run build:cdn && npm run build:max",
"watch:browser": "cross-env TARGET=browser npx webpack --watch --mode=development",
"watch:cdn": "cross-env TARGET=cdn npx webpack --watch --mode=production",
"watch:max": "cross-env TARGET=max npx webpack --watch --mode=production",
"watch:node": "npx webpack --watch --mode=production",
"prepare": "npm run build",
"package": "npm t && npm run build && npm pack",
"rebuild": "rm -rf node_modules && rm package-lock.json && npm i && npm run build",
"bump-major": "npm version major --no-git-tag-version",
"bump-minor": "npm version minor --no-git-tag-version",
"bump-patch": "npm version patch --no-git-tag-version"
},
"dependencies": {
"harmonics": "^1.0.8",
"jsmidgen": "~0.1.5"
},
"devDependencies": {
"@types/jest": "^27.0.1",
"@types/node": "^12.19.15",
"@typescript-eslint/eslint-plugin": "^4.31.1",
"@typescript-eslint/parser": "^4.31.1",
"cross-env": "^7.0.3",
"dts-bundle": "^0.7.3",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-loader": "^4.0.2",
"eslint-plugin-prettier": "^4.0.0",
"jest": "^27.2.0",
"prettier": "^2.4.0",
"ts-jest": "^27.0.5",
"ts-loader": "^9.2.5",
"ts-node": "^10.2.0",
"typedoc": "^0.21.5",
"typescript": "^4.4.3",
"webpack": "^5.53.0",
"webpack-cli": "^4.8.0"
},
"repository": {
"type": "git",
"url": "git://github.com/scribbletune/scribbletune.git"
},
"keywords": [
"javascript",
"music",
"music theory",
"midi",
"web audio api",
"jsmidgen",
"tone.js",
"tonal",
"harmonics"
],
"author": "Walmik Deshpande",
"license": "MIT",
"runkitExampleFilename": "runkit.js",
"bugs": {
"url": "https://github.com/scribbletune/scribbletune/issues"
},
"engines": {
"node": ">16.x.x"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"eslintConfig": {
"extends": ".eslintrc"
}
}