-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
76 lines (76 loc) · 2.14 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
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"name": "lingua-node",
"version": "0.4.1",
"description": "Wrapper for lingua-rs in NodeJS",
"main": "lib/index.js",
"repository": {
"type": "git",
"url": "https://github.com/xanthous-tech/lingua-node.git"
},
"author": "Simon Liang <simon@x-tech.io>",
"license": "Apache-2.0",
"files": [
"native",
"lib"
],
"binary": {
"module_name": "index",
"host": "https://x-tech-npm-binaries.s3-us-west-2.amazonaws.com",
"remote_path": "./lingua-node/v{version}/{configuration}/",
"package_name": "lingua-node-{platform}-{arch}-{node_abi}.tar.gz",
"module_path": "./native",
"pkg_path": "."
},
"scripts": {
"build": "neon build",
"build:typescript": "tsc",
"clean:javascript": "rimraf lib",
"clean:artifact": "rimraf native/target && rimraf native/artifacts.json",
"clean:binary": "rimraf build",
"dev": "npm run build && npm run build:typescript && npm start",
"format": "prettier --write",
"lint": "eslint ./src --ext .ts",
"lint:fix": "eslint --fix",
"package": "npm run patch && node-pre-gyp -- package",
"patch": "patch-package",
"postinstall": "node-pre-gyp -- install --update-binary --fallback-to-build=false || npm run build -- --release",
"start": "DEBUG=lingua-node:* node .",
"upload-binary": "npm run package && node-pre-gyp publish"
},
"dependencies": {
"debug": "^4.3.1",
"neon-cli": "^0.9.1",
"node-pre-gyp": "^0.17.0",
"patch-package": "^6.2.2",
"threads": "^1.6.3"
},
"devDependencies": {
"@types/debug": "^4.1.5",
"@types/node": "14",
"@typescript-eslint/eslint-plugin": "^4.9.1",
"@typescript-eslint/parser": "^4.9.1",
"aws-sdk": "^2.808.0",
"eslint": "^7.15.0",
"husky": "^4.3.5",
"lint-staged": "^10.5.3",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"ts-node": "^9.1.1",
"typescript": "^4.1.2"
},
"lint-staged": {
"src/**/*.ts": [
"npm run lint:fix",
"npm run format"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm run build && npm run build:typescript"
}
},
"volta": {
"node": "14.15.1",
"yarn": "1.22.10"
}
}