-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
91 lines (91 loc) · 3.02 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": "smart-form-validator",
"version": "0.3.0-alpha",
"description": "A highly customizable, \"somewhat\" declarative form validator.",
"main": "dist/cjs/smart-form-validator.js",
"module": "dist/esm/smart-form-validator.js",
"files": [
"dist"
],
"scripts": {
"prebuild": "npm run lint && npm run test:coverage",
"build": "npm run build:js && npm run build:css",
"build:dev": "npm run build:css && npm run build:js:dev",
"build:css": "shx mkdir -p ./dist/css && shx cat ./src/effects/**/*.css | postcss > ./dist/css/smart-form-validator.min.css",
"build:js": "cross-env NODE_ENV=production rollup -c",
"build:js:dev": "cross-env NODE_ENV=development rollup -c -w",
"commit": "git-cz",
"examples": "http-server -c-1",
"lint": "npx eslint src/**/*.js __tests__/**/*.js",
"lint:fix": "npm run lint -- --fix",
"test": "cross-env NODE_ENV=test mocha __tests__/tests.js",
"test:coverage": "nyc npm test",
"bump-version": "npm --no-git-tag-version version --",
"changelog:major": "changelog -M",
"changelog:minor": "changelog -m",
"changelog:patch": "changelog -p",
"release:major": "npm run changelog:major && npm run bump-version major",
"release:minor": "npm run changelog:minor && npm run bump-version minor",
"release:patch": "npm run changelog:patch && npm run bump-version patch",
"prerelease:major": "npm run test:coverage",
"prerelease:minor": "npm run test:coverage",
"prerelease:patch": "npm run test:coverage"
},
"keywords": [
"validation",
"form validation",
"html validation",
"email validation",
"input validation"
],
"author": "simplymichael <simplymichaelorji@gmail.com> (https://github.com/simplymichael)",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/simplymichael/smart-form-validator.git"
},
"bugs": {
"url": "https://github.com/simplymichael/smart-form-validator/issues"
},
"homepage": "https://github.com/simplymichael/smart-form-validator#readme",
"devDependencies": {
"@babel/cli": "7.23.4",
"@babel/core": "7.23.3",
"@babel/preset-env": "7.23.3",
"@rollup/plugin-babel": "6.0.4",
"@rollup/plugin-commonjs": "25.0.7",
"@rollup/plugin-node-resolve": "15.2.3",
"chai": "4.3.10",
"chai-dom": "1.12.0",
"commitizen": "4.3.0",
"cross-env": "7.0.3",
"cssnano": "6.0.1",
"cz-conventional-changelog": "3.3.0",
"eslint": "8.53.0",
"generate-changelog": "1.8.0",
"ghooks": "2.0.4",
"http-server": "14.1.1",
"jsdom": "22.1.0",
"jsdom-global": "3.0.2",
"mocha": "10.2.0",
"nyc": "15.1.0",
"postcss-cli": "10.1.0",
"rollup": "2.79.1",
"rollup-plugin-terser": "7.0.2",
"shx": "0.3.4",
"sinon": "17.0.1",
"sinon-chai": "3.7.0"
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
},
"ghooks": {
"pre-commit": "npm run lint && npm run test:coverage"
}
},
"engines": {
"node": ">=16.15.1",
"npm": ">=8.12.1"
}
}