-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
91 lines (91 loc) · 2.61 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": "@lemoncode/fonk-nif-validator",
"version": "1.0.1",
"description": "This is a [fonk](https://github.com/Lemoncode/fonk) microlibrary that brings validation capabilities to validate if a field of a form is a valid NIF (DNI, NIE and/or CIF)",
"main": "dist/@lemoncode/fonk-nif-validator.cjs.js",
"module": "dist/@lemoncode/fonk-nif-validator.esm.js",
"typings": "typings/index.d.ts",
"files": [
"dist",
"typings"
],
"scripts": {
"build": "npm run clean && rollup --config",
"clean": "rimraf dist .rpt2_cache package-lock.json",
"validate": "npm run lint && npm run build && npm run test && npm run test:size",
"lint": "eslint src --ext .ts ",
"lint:fix": "npm run lint -- --fix",
"test": "jest -c ./config/test/jest.json --verbose",
"test:watch": "jest -c ./config/test/jest.json --verbose --watchAll -i",
"test:size": "bundlesize",
"deploy": "npm run validate && np",
"deploy:beta": "npm run validate && np --tag=beta --any-branch"
},
"bundlesize": [
{
"path": "./dist/**/*.js",
"maxSize": "3kB"
}
],
"repository": {
"type": "git",
"url": "git+https://github.com/Lemoncode/fonk-nif-validator.git"
},
"keywords": [
"nif",
"validator",
"fonk",
"form validation",
"validate",
"sync validation"
],
"author": "Lemoncode",
"license": "MIT",
"bugs": {
"url": "https://github.com/Lemoncode/fonk-nif-validator/issues"
},
"homepage": "https://github.com/Lemoncode/fonk-nif-validator#readme",
"peerDependencies": {
"@lemoncode/fonk": "latest"
},
"devDependencies": {
"@babel/cli": "^7.5.5",
"@babel/core": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@lemoncode/fonk": "latest",
"@types/jest": "^24.0.18",
"@typescript-eslint/eslint-plugin": "^2.0.0",
"@typescript-eslint/parser": "^2.0.0",
"bundlesize": "0.18.0",
"eslint": "^6.2.1",
"eslint-config-prettier": "^6.1.0",
"eslint-plugin-prettier": "^3.1.0",
"husky": "^3.0.4",
"jest": "^24.9.0",
"lint-staged": "^9.2.3",
"np": "^5.0.3",
"prettier": "^1.18.2",
"pretty-quick": "^1.11.1",
"rimraf": "^3.0.0",
"rollup": "^1.20.0",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.0.2",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^5.1.1",
"rollup-plugin-typescript2": "^0.22.1",
"ts-jest": "^24.0.2",
"typescript": "^3.5.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"npm run lint:fix",
"pretty-quick — staged",
"git add"
]
}
}