-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
84 lines (84 loc) · 2.47 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
{
"name": "@strboul/kwic-ts",
"version": "0.1.4",
"description": "Locate keywords-in-contexts",
"license": "MIT",
"keywords": [
"typescript",
"kwic ",
"text-processing ",
"permuted-index",
"ptx"
],
"repository": {
"type": "git",
"url": "git+/~https://github.com/strboul/kwic-ts.git"
},
"bugs": {
"url": "/~https://github.com/strboul/kwic-ts/issues"
},
"homepage": "/~https://github.com/strboul/kwic-ts#readme",
"author": "Metin Yazici",
"main": "dist/kwic.js",
"types": "dist/kwic.d.ts",
"files": [
"dist/**/*.js",
"dist/**/*.ts"
],
"scripts": {
"build": "tsc && tsc-alias",
"build:watch": "tsc --watch && tsc-alias",
"repl": "ts-node -r tsconfig-paths/register",
"test": "jest",
"test:debug-devtools": "node --inspect $(npm bin)/jest --no-cache --runInBand",
"test:debug-repl": "node inspect $(npm bin)/jest --runInBand",
"coverage": "jest --coverage",
"lint": "eslint src/** --ext .ts",
"formatter:check": "prettier --list-different '{,!(build|coverage|dist|example)/**/}*.{css,js,jsx,ts}'",
"formatter:write": "prettier --write '{,!(build|coverage|dist|example)/**/}*.{css,js,jsx,ts}'",
"checkDependencyUpdates": "ncu -u --errorLevel 2",
"testAll": "npm run build && npm run test && npm run lint && npm run formatter:check",
"npm:bumpVersion": "npm version $1",
"npm:link": "npm link '@strboul/kwic-ts'",
"npm:publish": "npm login && npm publish --access public",
"npm:release": "npm run testAll && npm run npm:publish",
"npm:view": "npm view"
},
"devDependencies": {
"@types/jest": "^27.0.1",
"@typescript-eslint/eslint-plugin": "^4.31.0",
"@typescript-eslint/parser": "^4.31.0",
"babel-jest": "^27.1.1",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-import-resolver-typescript": "^2.4.0",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-prettier": "^4.0.0",
"jest": "^27.1.1",
"npm-check-updates": "^11.8.5",
"prettier": "2.4.0",
"ts-jest": "^27.0.5",
"ts-node": "^10.2.1",
"tsc-alias": "^1.3.9",
"tsconfig-paths": "^3.11.0",
"typescript": "^4.4.3"
},
"jest": {
"preset": "ts-jest",
"moduleNameMapper": {
"src/(.*)": "<rootDir>/src/$1"
},
"transform": {
"^.+\\.ts?$": "ts-jest"
},
"testMatch": [
"<rootDir>/src/**/*.test.ts"
]
},
"babel": {
"presets": [
"@babel/preset-env"
]
}
}