-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
60 lines (60 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"name": "word-counter-ts",
"version": "0.1.0",
"description": "Count words in strings. Support for English, CJK, and Cyrillic.",
"keywords": [
"word-count",
"count",
"counter",
"typescript"
],
"author": "Beeno Tung <aabbcc1241@yahoo.com.hk> (https://beeno-tung.surge.sh)",
"license": "BSD-2-Clause",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"test": "npm run rawtest",
"clean": "rimraf dist",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"postformat": "tslint -p . --fix",
"prebuild": "npm run clean",
"build": "tsc -p tsconfig.build.json",
"pretest": "npm run format && npm run build",
"rawtest": "ts-node test/index.ts",
"prepublishOnly": "npm run rawtest && npm run build"
},
"husky": {
"hook": {
"pre-commit": "npm run format"
}
},
"directories": {
"test": "test"
},
"files": [
"dist"
],
"dependencies": {
"word-regex": "^0.1.2"
},
"devDependencies": {
"@types/node": "*",
"husky": "^4.2.5",
"prettier": "^2.0.5",
"rimraf": "^3.0.2",
"ts-node": "^8.10.1",
"tslint": "^6.1.2",
"tslint-config-prettier": "^1.18.0",
"tslint-eslint-rules": "^5.4.0",
"tslint-etc": "^1.10.1",
"typescript": "^3.9.3"
},
"repository": {
"type": "git",
"url": "git+https://github.com/beenotung/word-counter.git"
},
"bugs": {
"url": "https://github.com/beenotung/word-counter/issues"
},
"homepage": "https://github.com/beenotung/word-counter#readme"
}