forked from franciscop/translate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
45 lines (45 loc) · 1.52 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
{
"name": "translate",
"version": "3.0.0",
"description": "Translate text to different languages on node.js and the browser",
"author": "Francisco Presencia <public@francisco.io> (https://francisco.io/)",
"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",
"license": "MIT",
"scripts": {
"start": "node --experimental-vm-modules node_modules/jest/bin/jest.js --watch",
"build": "rollup src/index.js --name translate --output.format esm | terser --compress --mangle -o index.min.js",
"size": "gzip -c index.min.js | wc -c && echo 'bytes' # Only for Unix",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage --collectCoverageFrom=src/**/*.js && npx check-dts",
"watch": "nodemon --exec \"npm run build && npm test && npm run gzip\" --watch src --watch test --watch webpack.config.js --watch package.json"
},
"keywords": [
"translate",
"languages",
"i18n",
"internationalization",
"async",
"google",
"yandex"
],
"type": "module",
"main": "index.min.js",
"types": "index.d.ts",
"files": [
"index.d.ts"
],
"devDependencies": {
"check-dts": "^0.7.1",
"dotenv": "^16.0.3",
"fetch-mock": "^9.11.0",
"jest": "^29.5.0",
"node-fetch": "^2.6.9",
"rollup": "^3.20.2",
"terser": "^5.16.9"
},
"jest": {
"transform": {}
}
}