forked from franciscop/translate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
44 lines (44 loc) · 1.47 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
{
"name": "translate",
"version": "1.1.1",
"description": "Translate text to different languages on node.js and the browser",
"homepage": "https://github.com/franciscop/translate#readme",
"repository": "https://github.com/franciscop/translate.git",
"bugs": "https://github.com/franciscop/translate/issues",
"funding": "https://www.paypal.me/franciscopresencia/19",
"author": "Francisco Presencia <[email protected]> (https://francisco.io/)",
"license": "MIT",
"scripts": {
"start": "npm run watch # Start ~= Start dev",
"build": "rollup src/index.js -o translate.js --name translate --output.format umd && uglifyjs translate.js -o translate.min.js",
"test": "jest --coverage --collectCoverageFrom=src/**/*.js --detectOpenHandles",
"watch": "nodemon --exec \"npm run build && npm test && npm run gzip\" --watch src --watch test --watch webpack.config.js --watch package.json",
"gzip": "gzip -c translate.min.js | wc -c && echo 'bytes' # Only for Unix"
},
"keywords": [
"translate",
"languages",
"i18n",
"internationalization",
"async",
"google",
"yandex"
],
"main": "translate.min.js",
"engine": [
"node >=4.0.0"
],
"dependencies": {
"node-fetch": "^1.7.3"
},
"devDependencies": {
"babel-core": "^6.26.3",
"babel-jest": "^21.2.0",
"babel-preset-env": "^1.7.0",
"dotenv": "^4.0.0",
"fetch-mock": "^5.13.1",
"jest": "^23.6.0",
"rollup": "^0.50.0",
"uglify-es": "^3.1.3"
}
}