forked from andrewMacmurray/seeds-game
/
package.json
54 lines (54 loc) · 2.29 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
{
"name": "seeds-game",
"version": "1.0.0",
"description": "A connect the dots game with seeds",
"scripts": {
"deploy-production": "npm run build && firebase deploy -P production",
"deploy-staging": "npm run build && firebase deploy -P staging",
"dev": "npm run elm-dev & npm run css-dev & npm run copy-pep & npm run js-dev",
"build": "npm run elm-build && npm run js-build && npm run copy-pep && npm run css-build && npm run sw-generate",
"elm-dev": "elm-live src/elm/Main.elm --dir=public --open --pushstate -- --output=public/main.js --debug",
"elm-build": "elm make src/elm/Main.elm --output=public/main.js --optimize && npm run compress-main",
"css-dev": "postcss --watch --config ./postcss-config.js",
"css-build": "postcss --config ./postcss-config.js",
"js-dev": "watchify src/js/embed.js -o public/embed.js -v",
"js-build": "browserify src/js/embed.js -o public/embed.js -t [ babelify --presets [ env ] ]",
"copy-pep": "cp node_modules/pepjs/dist/pep.min.js public",
"sw-generate": "workbox generateSW",
"compress-main": "uglifyjs public/main.js --compress 'pure_funcs=\"F2,F3,F4,F5,F6,F7,F8,F9,A2,A3,A4,A5,A6,A7,A8,A9\",pure_getters=true,keep_fargs=false,unsafe_comps=true,unsafe=true,passes=2' --output=public/main.js && uglifyjs public/main.js --mangle --output=public/main.js",
"compress-embed": "uglifyjs -c -m -o public/embed.js public/embed.js",
"test": "elm-test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/andrewMacmurray/seeds-game.git"
},
"author": "Andrew MacMurray",
"license": "MIT",
"bugs": {
"url": "https://github.com/andrewMacmurray/seeds-game/issues"
},
"homepage": "https://github.com/andrewMacmurray/seeds-game#readme",
"dependencies": {
"bounce.js": "^0.8.2",
"elm": "^0.19.0",
"howler": "^2.0.9",
"pepjs": "^0.4.3",
"tachyons-custom": "^4.5.4"
},
"devDependencies": {
"autoprefixer": "^6.7.3",
"babel-core": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babelify": "^8.0.0",
"browserify": "^14.4.0",
"elm-live": "^3.0.6",
"postcss-clean": "^1.0.2",
"postcss-cli": "^2.6.0",
"postcss-custom-media": "^5.0.1",
"postcss-custom-properties": "^5.0.2",
"postcss-import": "^9.1.0",
"uglify-js": "^3.3.16",
"watchify": "^3.9.0"
}
}