-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
63 lines (63 loc) · 2.31 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
55
56
57
58
59
60
61
62
63
{
"name": "intento-nodejs",
"description": "Intento API Client Library for Node.js",
"version": "1.0.5",
"main": "lib/index.js",
"repository": "intento/intento-nodejs",
"author": "Intento Inc.",
"license": "Apache-2.0",
"keywords": [
"intento api client",
"intento apis client",
"intento apis",
"intento api",
"translation",
"sentiment analysis",
"text meanings"
],
"scripts": {
"app_examples": "export $(cat .env) && node samples/server-side-app/*.js",
"examples": "export $(cat .env) && node example.js",
"clean": "rimraf lib",
"lint": "eslint src test",
"eslint": "eslint",
"jest": "jest --env node",
"test": "export $(cat .env) && jest --env node --coverage --collectCoverageFrom=src/*.js --forceExit test/*",
"test:win": "cross-env NODE_ENV=production && jest --env node --coverage --collectCoverageFrom=src/*.js --forceExit test/*",
"test-in-browser": "serve . && echo 'Visit http://localhost:5000/samples/browser-app'",
"build_pack": "cross-env BABEL_ENV=production babel src --out-dir lib",
"build_dist": "webpack",
"build": "yarn build_pack; yarn build_dist",
"prepublish": "yarn clean && yarn lint && yarn test && yarn build",
"format_test": "prettier --config test/.prettierrc --write 'test*/*.js'",
"format_ex": "prettier --config .prettierrc --write '*.js'",
"format_source": "prettier --config .prettierrc --write './src/*.js'",
"format_samples": "prettier --config ./samples/.prettierrc --write './samples/**/*.js'",
"format": "yarn format_source && yarn format_samples && yarn format_ex"
},
"devDependencies": {
"@babel/cli": "^7.21.5",
"@babel/core": "^7.22.1",
"@babel/eslint-parser": "^7.21.8",
"@babel/plugin-transform-destructuring": "^7.21.3",
"@babel/plugin-transform-object-rest-spread": "^7.22.3",
"@babel/preset-env": "^7.22.4",
"babel-plugin-add-module-exports": "^1.0.4",
"babel-preset-minify": "^0.5.2",
"buffer": "^6.0.3",
"cross-env": "^7.0.3",
"dotenv": "^16.1.4",
"eslint": "^8.42.0",
"https-browserify": "^1.0.0",
"jest": "^29.5.0",
"node-stdlib-browser": "^1.2.0",
"rimraf": "^5.0.1",
"stream-http": "^3.2.0",
"url": "^0.11.0",
"webpack": "^5.86.0",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"axios": "^1.4.0"
}
}