-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
84 lines (84 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
81
82
83
84
{
"name": "standardschema",
"version": "0.11.5",
"description": "Library for validating data with Standard Schema",
"main": "dist/index.js",
"files": [
"dist/"
],
"scripts": {
"prettier": "prettier --single-quote --no-semi --write",
"lint": "tslint \"src/**/*.ts\" --project tsconfig.json",
"format": "npm run prettier -- \"src/**/*.ts\"",
"build": "rimraf dist && tsc",
"test:watch": "jest --watch",
"test:spec": "jest --coverage",
"test": "npm run -s lint && npm run -s build && npm run -s test:spec",
"prepare": "npm run build"
},
"repository": {
"type": "git",
"url": "git://github.com/standardschema/javascript.git"
},
"keywords": [
"schema",
"standard",
"data",
"json",
"validator",
"types",
"runtime"
],
"author": {
"name": "Blake Embrey",
"email": "[email protected]",
"url": "http://blakeembrey.me"
},
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/standardschema/javascript/issues"
},
"homepage": "https://github.com/standardschema/javascript",
"jest": {
"roots": [
"<rootDir>/src/"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,json,css,md}": [
"npm run prettier",
"git add"
]
},
"devDependencies": {
"@types/jest": "^23.3.1",
"@types/node": "^10.9.4",
"husky": "^0.14.3",
"jest": "^23.5.0",
"lint-staged": "^7.2.2",
"prettier": "^1.14.2",
"rimraf": "^2.5.4",
"ts-jest": "^23.1.4",
"tslint": "^5.0.0",
"tslint-config-prettier": "^1.15.0",
"tslint-config-standard": "^8.0.1",
"typescript": "^3.0.3"
}
}