-
Notifications
You must be signed in to change notification settings - Fork 22
/
package.json
60 lines (60 loc) · 2.18 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
{
"name": "vaporBoy",
"displayName": "VaporBoy",
"author": "Aaron Turner",
"version": "0.2.0",
"legacyVersions": [
"0.1.1"
],
"license": "Apache-2.0",
"description": "A Gameboy / Gameboy Color Emulator PWA. ⚛️ Powered by wasmBoy. 🎮",
"scripts": {
"start": "npm run dev",
"dev": "npm run preact:dev",
"build": "run-s preact:build legacy:build privacy:build robots:build",
"release": "np --no-publish --yolo",
"serve": "echo \"NOTE: This is meant for testing build output, not a development server...\" && sleep 2 && npm run preact:serve",
"precommit": "pretty-quick --staged --pattern \"!legacy/**/*\"",
"prettier:fix": "prettier --write '**/*.js' '**/*.scss' '**/*.css' '**/*.json' '!www/**/*' '!legacy/**/*' '!platforms/**/*' '!build/**/*' '!plugins/**/*'",
"preact:build": "preact build --template src/template.html --dest www --config src/preact.config.js --no-prerender",
"preact:build:watch": "chokidar '**/*.js' '**/*.scss' '**/*.css' '**/*.json' '!www/**/*' '!legacy/**/*' '!platforms/**/*' '!build/**/*' '!plugins/**/*' -c \"npm run preact:build\"",
"preact:serve": "npm run preact:build && preact serve --dir www",
"preact:dev": "preact watch --template src/template.html",
"legacy:build": "cp -r 'legacy/' 'www/'",
"privacy:build": "cp 'src/assets/privacypolicy.html' 'www/'",
"robots:build": "cp 'src/assets/robots.txt' 'www/'"
},
"eslintConfig": {
"extends": "eslint-config-synacor"
},
"eslintIgnore": [
"build/*"
],
"dependencies": {
"aesthetic-css": "1.0.0",
"idb": "^2.1.2",
"load-script": "^1.0.0",
"normalize.css": "^8.0.0",
"preact": "^8.2.1",
"preact-compat": "^3.17.0",
"tunajs": "^1.0.1",
"wasmboy": "0.4.1"
},
"devDependencies": {
"chokidar-cli": "^2.1.0",
"concurrently": "^3.5.1",
"eslint": "^4.5.0",
"eslint-config-synacor": "^1.1.0",
"husky": "^0.14.3",
"if-env": "^1.0.0",
"np": "^7.5.0",
"npm-run-all": "^4.1.5",
"preact-cli": "^2.2.1",
"preact-cli-sw-precache": "^1.0.3",
"prettier": "1.12.1",
"pretty-quick": "^1.4.1",
"sass": "^1.43.4",
"sass-loader": "^7.3.1",
"uglifyjs-webpack-plugin": "^1.1.2"
}
}