-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
97 lines (97 loc) · 2.89 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"name": "cld3-asm",
"version": "4.0.0",
"description": "WebAssembly based Javascript bindings for google compact language detector 3",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"browser": {
"./dist/cjs/lib/node/cld3.js": "./dist/cjs/lib/browser/cld3.js",
"./dist/esm/lib/node/cld3.js": "./dist/esm/lib/browser/cld3.js"
},
"engines": {
"node": ">=10"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
},
"cld3-version": "4d0870c-231231"
},
"lint-staged": {
"*.{ts,js}": [
"prettier --write --single-quote --print-width 120 --jsx-bracket-same-line true --ignore-path ./src/lib/*.js",
"tslint --fix",
"git add"
]
},
"scripts": {
"prepublishOnly": "npm-run-all build:clean build build:lib test",
"prepare": "ts-node bootstrap.ts",
"test:cld": "jest --config jest-cld.json",
"test:cld-asm": "jest --config jest-cld-asm.json --coverage",
"test": "npm-run-all test:*",
"lint": "tslint -c tslint.json -p tsconfig.json \"src/**/*.ts\" \"spec/**/*.ts\"",
"lint:staged": "lint-staged",
"build": "tsc -b --verbose ./src/tsconfig.cjs.json ./src/tsconfig.esm.json ./src/tsconfig.types.json ./spec/tsconfig.json",
"build:clean": "shx rm -rf ./dist",
"build:lib": "shx cp -r ./src/lib ./dist/cjs && shx cp -r ./src/lib ./dist/esm",
"commit": "git-cz -S",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kwonoj/cld3-asm.git"
},
"keywords": [
"WebAssembly",
"Wasm",
"cld",
"Language"
],
"author": "OJ Kwon <kwon.ohjoong@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/kwonoj/cld3-asm/issues"
},
"homepage": "https://github.com/kwonoj/cld3-asm#readme",
"devDependencies": {
"@commitlint/cli": "^8.1.0",
"@commitlint/config-angular": "^8.1.0",
"@types/chai": "^4.1.7",
"@types/jest": "^24.0.15",
"@types/lodash": "^4.14.136",
"@types/node": "^12.6.8",
"@types/shelljs": "^0.8.5",
"@types/utf8": "^2.1.6",
"chai": "^4.2.0",
"commitizen": "^4.0.2",
"conventional-changelog-cli": "^2.0.21",
"cz-conventional-changelog": "2.1.0",
"husky": "^3.0.1",
"jest": "^24.8.0",
"jest-spin-reporter": "^1.0.2",
"lint-staged": "^9.2.0",
"lodash": "^4.17.15",
"npm-run-all": "^4.1.5",
"prettier": "^1.18.2",
"shelljs": "^0.8.3",
"shx": "^0.3.2",
"ts-jest": "^24.0.2",
"ts-node": "^8.3.0",
"tslint": "^5.18.0",
"tslint-no-unused-expression-chai": "^0.1.4",
"typescript": "^3.5.3",
"utf8": "^3.0.0"
},
"dependencies": {
"emscripten-wasm-loader": "^3.0.3"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -e",
"pre-commit": "lint-staged",
"pre-push": "npm run prepublishOnly"
}
}
}