forked from jaywcjlove/translater.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
28 lines (28 loc) · 890 Bytes
/
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
{
"name": "translater.js",
"version": "1.0.9",
"description": "Simple translation tools.",
"main": "dist/translater.min.js",
"directories": {
"test": "test"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build:min": "umd Translater src/translater.js | uglifyjs -mc | bannerjs -o > dist/translater.min.js",
"build:dist": "umd Translater src/translater.js | bannerjs -m | uglifyjs -b beautify=true --comments 'all' > dist/translater.js ",
"build": "npm run build:min && npm run build:dist",
"watch": "onchange 'src/translater.js' -v -- npm run build"
},
"repository": {
"type": "git",
"url": "https://github.com/jaywcjlove/translater.js"
},
"author": "kenny wang",
"license": "MIT",
"devDependencies": {
"bannerjs": "^1.0.1",
"onchange": "^2.4.0",
"uglify-js": "^2.6.2",
"umd": "^3.0.1"
}
}