-
-
Notifications
You must be signed in to change notification settings - Fork 55
/
package.json
181 lines (181 loc) · 5.88 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
{
"name": "bitmidi.com",
"version": "1.0.0",
"author": {
"name": "Feross Aboukhadijeh",
"email": "[email protected]",
"url": "https://feross.org"
},
"ava": {
"require": [
"@babel/register"
],
"babel": false,
"compileEnhancements": false
},
"babel": {
"plugins": [
"@babel/plugin-transform-modules-commonjs",
"@babel/plugin-proposal-optional-catch-binding",
[
"@babel/plugin-transform-react-jsx",
{
"runtime": "automatic",
"importSource": "preact"
}
],
[
"@babel/plugin-proposal-object-rest-spread",
{
"useBuiltIns": true
}
],
[
"@babel/plugin-proposal-class-properties",
{
"loose": true
}
]
]
},
"browser": {
"./secret/index.js": false,
"./src/api/index.js": "./src/browser/api.js",
"./src/server/start.js": "./src/browser/index.js"
},
"browserify": {
"transform": [
"babelify"
]
},
"browserslist": [
"last 2 chrome versions",
"last 2 and_chr versions",
"last 2 firefox versions",
"last 2 safari versions",
"last 2 ios_saf versions",
"last 1 edge versions"
],
"bugs": {
"url": "https://github.com/feross/bitmidi.com/issues"
},
"dependencies": {
"@babel/core": "^7.12.9",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-proposal-object-rest-spread": "^7.12.1",
"@babel/plugin-proposal-optional-catch-binding": "^7.12.1",
"@babel/plugin-transform-modules-commonjs": "^7.12.1",
"@babel/plugin-transform-react-jsx": "^7.12.7",
"@babel/register": "^7.12.1",
"classnames": "^2.2.6",
"color-scheme-change": "^1.0.1",
"common-tags": "^1.8.0",
"cors": "^2.8.5",
"dayjs": "^1.9.6",
"debug": "^4.3.1",
"drag-drop": "^6.1.0",
"ejs": "^3.1.5",
"express": "^4.17.1",
"express-mysql-session": "^2.1.4",
"express-promise-router": "^4.0.1",
"express-rate-limit": "^5.2.3",
"express-session": "^1.17.1",
"express-sitemap-xml": "^3.0.0",
"file-to-array-buffer": "^1.0.0",
"freepats": "^1.0.3",
"fromentries": "^1.3.2",
"image-size": "^0.9.3",
"imagemin-gm": "^2.0.2",
"imagemin-webp": "^6.0.0",
"jsonfeed-to-atom": "^1.2.2",
"knex": "^0.21.12",
"load-script2": "^2.0.6",
"material-design-icons": "^3.0.1",
"morgan": "^1.10.0",
"mysql": "^2.18.1",
"node-schedule": "^1.3.2",
"objection": "^2.2.3",
"objection-slug": "^1.1.1",
"p-memoize": "^4.0.1",
"parseurl": "^1.3.3",
"path-to-regexp": "^6.2.0",
"preact": "^10.5.7",
"preact-context-provider": "^2.0.0-preactx.2",
"preact-render-to-string": "^5.1.12",
"quick-lru": "^5.1.1",
"reddit": "^1.2.1",
"rollbar": "^2.19.4",
"send": "^0.17.1",
"serve-favicon": "^2.5.0",
"simple-get": "^4.0.0",
"tachyons": "^4.12.0",
"timidity": "^1.3.0",
"undom": "^0.4.0",
"unmute-ios-audio": "^3.3.0",
"uuid": "^8.3.1"
},
"devDependencies": {
"@babel/eslint-parser": "^7.12.1",
"@bubblewrap/cli": "^1.7.0",
"babelify": "^10.0.0",
"browserify": "^17.0.0",
"cssnano": "^4.1.10",
"cssnano-preset-advanced": "^4.0.7",
"disc": "^1.3.3",
"glob": "^7.1.6",
"husky": "^4.3.0",
"minimist": "^1.2.5",
"nodemon": "^2.0.6",
"ora": "^5.1.0",
"puppeteer": "^5.5.0",
"purgecss": "^3.0.0",
"rimraf": "^3.0.2",
"simple-sha256": "^1.0.1",
"standard": "*",
"tinyify": "^3.0.0",
"watchify": "^3.11.1"
},
"homepage": "https://bitmidi.com",
"husky": {
"hooks": {
"pre-push": "npm test"
}
},
"license": "-",
"main": "./src/server/start.js",
"private": true,
"repository": {
"type": "git",
"url": "git://github.com/feross/bitmidi.com.git"
},
"scripts": {
"build": "npm run build-css && npm run build-js",
"build-css": "NODE_ENV=production node -r @babel/register ./tools/build-css",
"build-js": "NODE_ENV=production browserify --no-detect-globals --plugin tinyify . > static/bundle.js",
"deploy": "./tools/trigger-deploy.sh",
"knex": "npx --node-arg '-r @babel/register' knex --knexfile tools/knexfile.js --cwd .",
"secret-download": "rsync -a -O -v --delete future:'/home/feross/www/bitmidi.com/secret/' secret/",
"secret-upload": "rsync -a -O -v --delete secret/ future:'/home/feross/www/bitmidi.com/secret/'",
"size": "npm run size-js && npm run size-css && npm run size-disc",
"size-css": "npm run build-css && cat static/bundle.css | gzip | wc -c",
"size-disc": "browserify --no-detect-globals --plugin tinyify --full-paths . | discify --open",
"size-js": "npm run build-js && cat static/bundle.js | gzip | wc -c",
"start": "node -r @babel/register .",
"test": "npm run test-lint && npm run test-ava",
"test-ava": "echo \"skipping -- npm run build && ava 'test/**/*.js'\"",
"test-lint": "standard",
"tunnel": "ssh -L 3306:localhost:3306 -N athena",
"uploads-download": "rsync -a -O -v --delete future:'/home/feross/www/bitmidi.com/uploads/' uploads/",
"uploads-upload": "rsync -a -O -v --delete uploads/ future:'/home/feross/www/bitmidi.com/uploads/'",
"watch": "npm run tunnel & npm run watch-css & npm run watch-js & npm run watch-server",
"watch-css": "nodemon -r @babel/register --ext js,ejs,css --watch src/views --watch src/config.js --watch src/css ./tools/build-css -- --verbose",
"watch-js": "watchify . --debug --verbose --outfile static/bundle.js",
"watch-server": "DEBUG=bitmidi* DEBUG_DEPTH=1 nodemon -r @babel/register --ext js,ejs,json --watch src --watch secret .",
"build-android-init": "cd android/app && bubblewrap init --manifest https://bitmidi.com/manifest.webmanifest",
"build-android-build": "cd android/app && bubblewrap build",
"build-android-install": "cd android/app && bubblewrap install"
},
"standard": {
"parser": "@babel/eslint-parser"
}
}