-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
66 lines (66 loc) · 1.55 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
{
"private": true,
"name": "offset",
"devDependencies": {
"@atjson/document": "0.22.3",
"@types/jest": "24.0.20",
"husky": "3.0.9",
"jest": "24.9.0",
"lerna": "3.18.3",
"lint-staged": "9.4.2",
"parcel-bundler": "1.12.4",
"prettier": "1.18.2",
"ts-jest": "24.1.0",
"ts-loader": "6.2.1",
"tslint": "5.20.0",
"typescript": "3.5.3"
},
"dependencies": {
"@atjson/editor": "file:packages/@atjson/editor",
"@atjson/offset-core-components": "file:packages/@atjson/offset-core-components",
"@atjson/offset-inspector": "file:packages/@atjson/offset-inspector"
},
"scripts": {
"build": "lerna run build",
"lint": "lerna run lint",
"publish": "lerna publish",
"test": "./node_modules/jest/bin/jest.js"
},
"jest": {
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
],
"globals": {
"ts-jest": {
"diagnostics": {
"warnOnly": true
}
}
},
"moduleNameMapper": {
"@atjson/editor": "<rootDir>/packages/@atjson/editor",
"@atjson/offset-core-components": "<rootDir>/packages/@atjson/offset-core-components",
"@atjson/offset-inspector": "<rootDir>/packages/@atjson/offset-inspector"
},
"testURL": "http://localhost",
"preset": "ts-jest",
"testMatch": [
"**/*-test.(ts|tsx|js|jsx)"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx,css,js,jsx,json,md}": [
"prettier --write",
"git add"
]
}
}