forked from IMAGINARY/muski-synth-genie
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
127 lines (127 loc) · 3.9 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "typescript-library-with-demo-app",
"version": "0.0.0",
"description": "Template for TypeScript library with demo app",
"author": {
"name": "author-name",
"email": "author-email"
},
"repository": "",
"bugs": {
"url": "issue-tracker",
"email": "author-email"
},
"license": "MIT",
"engines": {
"npm": ">=8.0.0",
"node": ">=16.0.0"
},
"browserslist": [
">= 0.5%",
"last 2 major versions",
"not dead",
"Chrome >= 60",
"Firefox >= 60",
"Firefox ESR",
"iOS >= 12",
"Safari >= 12",
"not Explorer <= 11",
"not OperaMini all"
],
"source": "src/lib/ts/index.ts",
"main": "dist/index.js",
"module": "dist/index.mjs",
"muski-min": "dist/muski-synth-genie.min.js",
"types": "dist/index.d.ts",
"targets": {
"app": {
"source": [
"/src/app/html/index.html"
],
"distDir": "app",
"isLibrary": false,
"context": "browser",
"optimize": true,
"engines": {
"browsers": [
"> 0.2% and not dead"
]
}
},
"muski-min": {
"source": "src/muski/ts/index.ts",
"context": "browser",
"includeNodeModules": true,
"isLibrary": false,
"outputFormat": "global",
"optimize": true
},
"main": {},
"module": {},
"types": {}
},
"files": [
"dist"
],
"devDependencies": {
"@parcel/packager-ts": "2.8.2",
"@parcel/transformer-inline-string": "2.8.2",
"@parcel/transformer-sass": "2.8.2",
"@parcel/transformer-typescript-tsc": "2.8.2",
"@parcel/transformer-typescript-types": "2.8.2",
"@types/assert": "^1.5.6",
"@types/document-ready": "^2.0.0",
"@typescript-eslint/eslint-plugin": "^5.47.0",
"@typescript-eslint/parser": "^5.47.0",
"buffer": "^5.7.1",
"eslint": "^8.30.0",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-compat": "^4.0.2",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-react": "^7.31.11",
"eslint-plugin-react-hooks": "^4.6.0",
"parcel": "2.8.2",
"parcel-namer-rewrite": "^2.0.0-rc.3",
"prettier": "^2.8.1",
"process": "^0.11.10",
"rimraf": "^3.0.2",
"stylelint": "^14.16.0",
"stylelint-config-html": "^1.1.0",
"stylelint-config-prettier-scss": "^0.0.1",
"stylelint-config-standard-scss": "^6.1.0",
"typedoc": "^0.23.23",
"typedoc-plugin-rename-defaults": "^0.6.4",
"typescript": "^4.9.4",
"typescript-plugin-css-modules": "^4.1.1"
},
"dependencies": {
"@juggle/resize-observer": "^3.4.0",
"@magenta/music": "^1.23.1",
"@swc/helpers": "^0.4.14",
"tone": "^14.7.77"
},
"scripts": {
"serve": "parcel serve --dist-dir dist-dev --target app",
"watch:app": "parcel watch --target app",
"watch:muski": "parcel watch --no-hmr --target muski-min",
"clean": "npm run clean:lib && npm run clean:app && npm run clean:muski",
"clean:lib": "rimraf dist/index.*",
"clean:app": "rimraf app",
"clean:muski": "rimraf 'dist/muski-synth-genie.*'",
"build": "npm run clean && parcel build --public-url .",
"build:lib": "npm run clean:lib && parcel build --target main --target module --target types",
"build:app": "npm run clean:app && parcel build --public-url . --target app",
"build:muski": "npm run clean:muski && parcel build --target muski-min",
"format": "prettier --write '.'",
"doc": "typedoc",
"lint": "npm run lint:scripts; npm run lint:styles",
"lint:scripts": "cd src/ && eslint '{**/*,*}.{js,ts,jsx,tsx}'",
"lint:styles": "cd src/ && stylelint '{**/*,*}.{css,scss}'",
"lint:fix": "npm run lint:fix:scripts; npm run lint:fix:styles",
"lint:fix:scripts": "cd src/ && eslint --fix '{**/*,*}.{js,ts,jsx,tsx}'",
"lint:fix:styles": "cd src/ && stylelint --fix '{**/*,*}.{css,scss}'",
"test": "echo \"Error: no test specified\" && exit 1"
}
}