forked from dmotz/thing-translator
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
51 lines (51 loc) · 1.5 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
{
"name": "thing-translator",
"version": "0.0.1",
"description": "Thing Translator is an AI Experiment that lets you point your camera at things to hear how to say them in a different language.",
"private": true,
"main": "src/app.js",
"author": {
"name": "Dan Motzenbecker",
"email": "dan@oxism.com",
"url": "http://oxism.com"
},
"scripts": {
"bundle": "npm run bundle-css && npm run bundle-js",
"bundle-js": "NODE_ENV=production browserify -e src/app.js -g babelify -g envify -g unassertify -g uglifyify | uglifyjs --screw-ie8 -m -c | sed 's/@@@@@/'$(head api_key)'/' > app.js",
"bundle-css": "stylus -c -u nib style/main.styl -o app.css",
"dev": "parallelshell 'npm run watch' 'npm run watch-style'",
"watch": "budo src/app.js --live --host localhost -- -t babelify",
"watch-style": "stylus -c -u nib -w style/main.styl -o app.css"
},
"license": "MIT",
"dependencies": {
"array.prototype.find": "^2.0.0",
"array.prototype.findindex": "^2.0.0",
"babel-preset-es2015": "^6.18.0",
"babelify": "^7.3.0",
"browserify": "^13.1.1",
"budo": "^9.2.1",
"choo": "^4.0.3",
"envify": "^4.0.0",
"he": "^1.1.0",
"nib": "^1.1.2",
"parallelshell": "^2.0.0",
"stylus": "^0.54.5",
"uglify-js": "^2.7.4",
"uglifyify": "^3.0.4",
"unassertify": "^2.0.3",
"xhr": "^2.3.2"
},
"browserify": {
"transform": [
[
"babelify",
{
"presets": [
"es2015"
]
}
]
]
}
}