-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
78 lines (78 loc) · 1.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
{
"name": "scto",
"version": "0.2.0",
"description": "Strings compare to OP model",
"keywords": [
"crdt",
"operations",
"strings",
"compare",
"diff",
"typescript",
"javascript"
],
"main": "lib/index.js",
"types": "lib/index.d.ts",
"scripts": {
"prepublishOnly": "npm run build",
"type-check": "tsc --noEmit",
"type-check:watch": "npm run type-check -- --watch",
"build": "npm run build:types && npm run build:js",
"build:types": "tsc --project ./tsconfig.build.json --emitDeclarationOnly",
"build:js": "babel src --out-dir lib --extensions \".ts\" --ignore \"**/*.spec.ts\" --source-maps inline",
"format": "prettier --write",
"test": "jest src/",
"benchmark": "jest benchmark/",
"release": "release-it"
},
"files": [
"lib"
],
"author": "cudr",
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.5.0",
"@babel/core": "^7.5.0",
"@babel/plugin-proposal-class-properties": "^7.5.0",
"@babel/plugin-proposal-object-rest-spread": "^7.5.1",
"@babel/preset-env": "^7.5.0",
"@babel/preset-typescript": "^7.3.3",
"@types/diff": "^5.0.2",
"@types/diff-match-patch": "^1.0.32",
"@types/faker": "^5.1.4",
"@types/jest": "^26.0.15",
"babel-jest": "^26.6.3",
"diff": "^5.0.0",
"diff-match-patch": "^1.0.5",
"faker": "^5.1.0",
"husky": "^3.0.0",
"jest": "^24.8.0",
"lint-staged": "^9.1.0",
"prettier": "^2.5.1",
"release-it": "^14.12.4",
"ts-jest": "^24.0.2",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.9.10"
},
"jest": {
"roots": [
"<rootDir>/src",
"<rootDir>/benchmark"
],
"transform": {
"^.+\\.ts?$": "ts-jest"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,json}": [
"yarn run format",
"git add"
]
}
}