-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
91 lines (91 loc) · 2.42 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
85
86
87
88
89
90
91
{
"name": "@currency-one/validators",
"version": "1.1.26",
"description": "Typescript collection of validators and regexp patterns",
"main": "./index.js",
"types": "./index.d.ts",
"scripts": {
"all": "npm install && npm run lint && npm run test && npm run build && npm run build:doc",
"build": "npm run clean && npm run tsc && npm run babel",
"tsc": "tsc",
"lint": "tslint -p . -t codeFrame",
"test": "jest --coverage",
"clean": "rimraf ./helpers ./date-validators ./main ./pesel-validators ./phone-validators ./index.*",
"fix": "npm run lint --fix",
"publish-package": "npm run all && npm version patch && npm publish --access public",
"build:doc": "jsdoc2md --files ./lib/**/*.ts --configure ./jsdoc2md.json > ./DOCS.md",
"babel": "babel ./**/*.js --relative --out-dir ./ --ignore ./node_modules"
},
"keywords": [
"validator",
"validators",
"pattern",
"patterns",
"javascript",
"typescript"
],
"author": "Mikołaj Jarmuła <[email protected]>",
"homepage": "https://github.com/Currency-One/validators",
"repository": {
"type": "git",
"url": "git+https://github.com/Currency-One/validators.git"
},
"license": "MIT",
"peerDependencies": {
"libphonenumber-js": "1.9.x",
"moment": "2.x"
},
"peerDependenciesMeta": {
"libphonenumber-js": {
"optional": true
},
"moment": {
"optional": true
}
},
"devDependencies": {
"@babel/cli": "^7.12.13",
"@babel/core": "^7.12.13",
"@babel/preset-env": "^7.12.13",
"@babel/preset-typescript": "^7.12.13",
"@types/jest": "^26.0.20",
"jest": "^26.6.3",
"jsdoc-babel": "^0.5.0",
"jsdoc-to-markdown": "^6.0.1",
"libphonenumber-js": "^1.7.55",
"mockdate": "^3.0.2",
"moment": "^2.27.0",
"ts-jest": "^26.5.0",
"tslint": "^6.1.3",
"typescript": "^4.1.3"
},
"directories": {
"lib": "lib",
"test": "test"
},
"files": [
"date-validators",
"pesel-validators",
"phone-validators",
"main",
"helpers",
"README.md",
"DOCS.md",
"tsconfig.json",
"LICENSE.txt",
"package.json",
"index.js",
"index.d.ts"
],
"jest": {
"preset": "ts-jest",
"testEnvironment": "jsdom",
"collectCoverageFrom": [
"lib/**/*.ts",
"!**/node_modules/**"
],
"moduleNameMapper": {
"libphonenumber-js/metadata.full.json.js": "<rootDir>/__mocks__/libphonenumber-mock.ts"
}
}
}