-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
121 lines (121 loc) · 3.78 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"name": "@bp/valiy",
"version": "3.0.0",
"description": "Validator - A mini regex library for most commonly used patterns",
"main": "index.js",
"types": "index.d.ts",
"module": "index.esm.js",
"unpkg": "index.umd.js",
"jsdelivr": "index.umd.js",
"umd:main": "index.umd.js",
"cdn": "index.umd.js",
"publishConfig": {
"registry": "https://npm.bharatpe.in"
},
"scripts": {
"build": "rollup -c",
"watch": "rollup -cw",
"test": "jest",
"clean-build": "rimraf ./test-react-app/node_modules/valiy",
"push-build": "cp -R ./dist ./test-react-app/node_modules/valiy",
"test-build": "yarn build && yarn clean-build && yarn push-build",
"clean-build-ts": "rimraf ./test-react-app-ts/node_modules/valiy",
"push-build-ts": "cp -R ./dist ./test-react-app-ts/node_modules/valiy",
"test-build-ts": "yarn build && yarn clean-build-ts && yarn push-build-ts",
"test-builds": "yarn build && yarn clean-build && yarn push-build && yarn clean-build-ts && yarn push-build-ts",
"fix": "prettier-eslint --write $PWD/'src/**/*.{ts,tsx}'",
"lint": "eslint $PWD/'src/**/*.{ts,tsx}' --config .eslintrc",
"commit": "git-cz",
"release": "standard-version",
"release:patch": "npm run release -- --release-as patch",
"release:minor": "npm run release -- --release-as minor",
"release:major": "npm run release -- --release-as major",
"publish:fix": "npm publish dist --tag fix",
"publish:latest": "npm publish dist --tag latest"
},
"jest": {
"rootDir": "src",
"collectCoverage": true,
"modulePathIgnorePatterns": [
"test-react-app",
"index.ts",
"constants.ts"
],
"transform": {
"^.+\\.ts$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.ts"
],
"coverageDirectory": "../coverage"
},
"repository": {
"type": "git",
"url": "git+https://github.com/bharatpe/valiy.git"
},
"author": "WebChapter, BharatPe",
"license": "ISC",
"bugs": {
"url": "https://github.com/bharatpe/valiy/issues"
},
"homepage": "https://github.com/bharatpe/valiy#readme",
"devDependencies": {
"@babel/core": "^7.12.3",
"@babel/preset-env": "^7.12.1",
"@babel/preset-react": "^7.12.5",
"@commitlint/cli": "^12.0.1",
"@commitlint/config-conventional": "^12.0.1",
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-node-resolve": "^11.2.0",
"@types/jest": "^28.1.8",
"@types/react": "^17.0.3",
"@types/react-dom": "^17.0.2",
"babel-eslint": "^10.1.0",
"babel-preset-react-app": "^10.0.0",
"commitizen": "^4.2.3",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.22.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-compat": "^3.9.0",
"eslint-plugin-extra-rules": "0.0.0-development",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4.2.0",
"jest": "^29.0.1",
"prettier": "^2.2.1",
"prettier-eslint-cli": "^5.0.1",
"rimraf": "^3.0.2",
"rollup": "^2.41.2",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-dts": "^4.2.2",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.30.0",
"rollup-plugin-visualizer": "^4.2.0",
"rollup-plugin-copy": "^3.5.0",
"standard-version": "^9.1.1",
"ts-jest": "^28.0.8",
"typescript": "^4.2.3"
},
"peerDependencies": {
"babel-loader": "^8.1.0",
"jest": "^29.0.1",
"react": "^18.0.0",
"ts-jest": "^28.0.8"
},
"prettier": {},
"eslintConfig": {
"extends": [
"react-app"
]
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"dependencies": {}
}