forked from wooorm/franc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
71 lines (71 loc) · 2.49 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
{
"name": "franc",
"version": "2.0.0",
"description": "Detect the language of text",
"license": "MIT",
"keywords": [
"natural",
"language",
"writing",
"system",
"language",
"detect",
"guess",
"cli",
"bin"
],
"dependencies": {
"trigram-utils": "^0.1.0"
},
"files": [
"index.js",
"cli.js",
"lib/"
],
"repository": {
"type": "git",
"url": "https://github.com/wooorm/franc.git"
},
"bugs": "https://github.com/wooorm/franc/issues",
"author": "Titus Wormer <[email protected]> (http://wooorm.com)",
"contributors": [
"Titus Wormer <[email protected]> (http://wooorm.com)"
],
"bin": {
"franc": "cli.js"
},
"devDependencies": {
"browserify": "^13.0.0",
"eslint": "^2.0.0",
"esmangle": "^1.0.0",
"istanbul": "^0.4.0",
"jscs": "^2.0.0",
"jscs-jsdoc": "^1.0.0",
"markdown-table": "^0.4.0",
"mocha": "^2.0.0",
"speakers": "^0.1.0",
"trigrams": "^1.0.0",
"udhr": "^1.0.0",
"unicode-7.0.0": "^0.1.0"
},
"scripts": {
"build-fixtures": "node script/build-fixtures.js",
"build-support": "node script/build-support.js",
"build-bundle-small": "export THRESHOLD=8000000 && node script/build-languages.js && browserify lib/franc.js --standalone franc --outfile franc.js",
"build-bundle-medium": "export THRESHOLD=1000000 && node script/build-languages.js && browserify lib/franc.js --standalone franc --outfile franc-most.js",
"build-bundle-large": "export THRESHOLD=-1 && node script/build-languages.js && browserify lib/franc.js --standalone franc --outfile franc-all.js",
"build-bundle": "npm run build-bundle-small && npm run build-bundle-large && npm run build-bundle-medium",
"build-mangle-small": "esmangle franc.js -o franc.js",
"build-mangle-medium": "esmangle franc-most.js -o franc-most.js",
"build-mangle-large": "esmangle franc-all.js -o franc-all.js",
"build-mangle": "npm run build-mangle-small && npm run build-mangle-medium && npm run build-mangle-large",
"build": "npm run build-bundle && npm run build-mangle && npm run build-fixtures && npm run build-support",
"lint-api": "eslint .",
"lint-style": "jscs . --reporter inline",
"lint": "npm run lint-api && npm run lint-style",
"test-cli": "bash ./test/cli.sh",
"test-api": "mocha --check-leaks test/index.js",
"test-coverage": "istanbul cover _mocha -- -- test/index.js",
"test": "npm run build && npm run lint && npm run test-coverage && npm run test-cli"
}
}