-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
55 lines (55 loc) · 1.53 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
{
"name": "shark-validator",
"version": "1.5.0",
"description": "A light weight, powerful, tree shakable javascript schema validator which works on both Nodejs and Browser.",
"main": "es/index.js",
"module": "es/index.js",
"types": "lib",
"scripts": {
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build:docs": "typedoc",
"build:js": "npm run build:es && npm run build:cjs",
"build": "npm run build:js && npm run build:docs",
"lint": "tslint src/**/* src/* --fix",
"test": "mocha",
"coverage": "nyc --reporter=html --reporter=text npm run test ",
"coveralls": "touch lcov.info && nyc --reporter=text-lcov npm run test >> ./lcov.info",
"dev:test": "npm run build:js && npm run test",
"format": "prettier --write src/**/* src/* test/*"
},
"devDependencies": {
"coveralls": "^3.1.0",
"husky": "^4.2.5",
"lint-staged": "^10.2.4",
"mocha": "^7.1.1",
"nyc": "^15.1.0",
"prettier": "^2.1.1",
"tslint": "^6.1.3",
"typedoc": "^0.18.0",
"typescript": "^4.0.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm run build && npm run test"
}
},
"lint-staged": {
"*.ts": "tslint --fix"
},
"repository": {
"type": "git",
"url": "https://github.com/irshadjsr21/Shark-Validator.git"
},
"license": "MIT",
"keywords": [
"schema",
"validation",
"tree shakeable"
],
"author": {
"name": "Md. Irshad Ansari",
"email": "[email protected]",
"url": "https://imirshad.com"
}
}