forked from mplatt/fold-to-ascii
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
80 lines (80 loc) · 1.9 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
{
"name": "@pexxi/fold-to-ascii-ts",
"version": "5.1.1",
"description": "A JavaScript port of the Apache Lucene ASCII Folding Filter that converts alphabetic, numeric, and symbolic Unicode characters which are not in the first 127 ASCII characters (the \"Basic Latin\" Unicode block) into a ASCII equivalents, if they exist.",
"main": "dist/ascii-folder.js",
"scripts": {
"build": "yarn clean && yarn compile",
"compile": "tsc -p tsconfig.build.json",
"clean": "rimraf dist",
"test": "jest",
"prepare": "yarn build",
"version": "auto-changelog -p && git add CHANGELOG.md"
},
"repository": {
"type": "git",
"url": "https://github.com/pexxi/fold-to-ascii-ts"
},
"keywords": [
"ascii",
"sanitize",
"diacritics",
"unicode",
"folding",
"ligatures"
],
"author": "Pekka Kokkonen <hello@pexxi.dev>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/pexxi/fold-to-ascii-ts/issues"
},
"homepage": "https://github.com/pexxi/fold-to-ascii-ts",
"devDependencies": {
"@types/jest": "^25.2.2",
"auto-changelog": "^2.0.0",
"husky": "^4.2.5",
"jest": "^26.0.1",
"lint-staged": "^10.2.2",
"prettier": "^2.0.5",
"rimraf": "^3.0.2",
"ts-jest": "^26.0.0",
"tslint": "^6.1.2",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.9.2"
},
"engines": {
"node": ">= 6.3.1"
},
"prettier": {
"semi": true,
"singleQuote": false
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(tsx?|jsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json",
"jsx"
],
"testPathIgnorePatterns": [
"/dist/"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"yarn test",
"prettier --write",
"git add"
]
}
}