-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
71 lines (71 loc) · 2.3 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
{
"name": "simple-js-validator",
"version": "2.0.2",
"description": "Perform simple javascript validation like isEmpty and isDefined in a consistent manner.",
"author": "Dan Hunt <dkhunt27@gmail.com>",
"homepage": "https://github.com/dkhunt27/simple-js-validator",
"repository": {
"type": "git",
"url": "https://dkhunt27@github.com/dkhunt27/simple-js-validator.git"
},
"licenses": [
{
"type": "MIT",
"url": "https://github.com/dkhunt27/simpleJSValidator/raw/master/LICENSE"
}
],
"keywords": [
"javascript validation",
"isempty",
"is empty",
"isdefined",
"is defined"
],
"scripts": {
"build": "rm -rf dist && yarn tsc -p tsconfig.release.json",
"build:minify": "rm -rf dist && yarn tsc -p tsconfig.release.json && yarn minify",
"build:watch": "yarn tsc -w -p tsconfig.release.json",
"docs": "yarn typedoc lib/simple.js.validator.ts",
"lint": "yarn eslint . --ext .ts --fix",
"lint:nofix": "yarn eslint . --ext .ts",
"lint:prod": "NODE_ENV=production yarn lint:nofix",
"minify": "yarn uglifyjs --compress --mangle --output dist/lib/simple.js.validator.min.js -- dist/lib/simple.js.validator.js",
"test:coverage": "yarn jest --coverage --testMatch='**/tests/**/?(*.)+(test).(ts)'",
"test:watch": "yarn jest --watch --testMatch='**/tests/**/?(*.)+(test).(ts)'",
"test": "yarn jest --testMatch='**/tests/**/?(*.)+(test).(ts)'"
},
"main": "dist/lib/simple.js.validator.js",
"files": [
"dist/*",
"package.json",
"README.md",
"yarn.lock",
"docs/*"
],
"devDependencies": {
"@types/jest": "^27.0.2",
"@types/node": "^16.10.2",
"@typescript-eslint/eslint-plugin": "^4.32.0",
"@typescript-eslint/parser": "^4.32.0",
"coveralls": "^3.1.1",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-jest": "^24.5.0",
"eslint-plugin-jsdoc": "^36.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"jest": "^27.2.4",
"json": "^11.0.0",
"npm-check-pr397": "^6.0.4",
"prettier": "^2.4.1",
"rimraf": "^3.0.2",
"ts-jest": "^27.0.5",
"typedoc": "^0.22.4",
"typescript": "^4.4.3",
"uglify-js": "^3.14.2",
"yorkie": "^2.0.0"
},
"gitHooks": {
"pre-push": "yarn test && yarn lint:prod"
}
}