-
-
Notifications
You must be signed in to change notification settings - Fork 110
/
package.json
74 lines (74 loc) · 1.88 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
{
"name": "v8n",
"version": "1.5.1",
"description": "Dead simple fluent JavaScript validation library",
"main": "dist/v8n.cjs.js",
"module": "dist/v8n.esm.js",
"unpkg": "dist/v8n.min.js",
"jsdelivr": "dist/v8n.min.js",
"typings": "types/index.d.ts",
"files": [
"src",
"dist/*.js",
"types/*.d.ts"
],
"scripts": {
"lint": "eslint ./src",
"docs:dev": "vuepress dev docs",
"docs:build": "vuepress build docs",
"build": "rimraf -r dist && rollup -c",
"deploy": "yarn build && npm publish",
"format": "prettier --write ./src/**/*.js",
"test": "yarn test:unit && yarn test:types",
"test:unit": "jest",
"test:types": "tsc -p ./types/test/tsconfig.json"
},
"keywords": [
"javascript",
"validation",
"library"
],
"author": "Bruno C. Couto <brunodev02221@gmail.com>",
"repository": {
"type": "git",
"url": "git+https://github.com/imbrn/v8n.git"
},
"bugs": {
"url": "https://github.com/imbrn/v8n/issues"
},
"homepage": "https://github.com/imbrn/v8n#readme",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.12.3",
"@babel/preset-env": "^7.12.1",
"@rollup/plugin-buble": "^0.21.3",
"@types/jest": "^26.0.15",
"@types/node": "^14.14.7",
"babel-jest": "^26.6.3",
"eslint": "^7.13.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-jest": "^24.1.3",
"husky": ">=4",
"jest": "^26.6.3",
"lint-staged": ">=10",
"prettier": "^1.19.1",
"rimraf": "^2.7.1",
"rollup": "^2.33.1",
"rollup-plugin-terser": "^7.0.2",
"typescript": "^4.0.5",
"vuepress": "^1.7.1",
"vuepress-theme-carbon": "^1.0.0"
},
"husky": {
"hooks": {
"pre-commit": "yarn test:types && lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --cache --fix",
"jest --bail --findRelatedTests"
],
"*.{js,css,md}": "prettier --write"
}
}