-
Notifications
You must be signed in to change notification settings - Fork 167
/
package.json
115 lines (115 loc) · 3.53 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
{
"name": "react-telephone-input",
"version": "5.0.0",
"description": "React component for entering and validating international telephone numbers",
"main": "dist/index.js",
"module": "dist/react-telephone-input.esm.js",
"typings": "dist/ReactTelephoneInput.d.ts",
"files": [
"css",
"dist",
"src"
],
"scripts": {
"build": "tsdx build --entry ./src/ReactTelephoneInput.tsx",
"clean": "nwb clean-module && npx nwb clean-demo",
"start": "nwb serve-react-demo",
"lint": "eslint src",
"test": "jest",
"test:coverage": "jest --coverage",
"test:watch": "jest --watch",
"deploy": "gh-pages -d demo/dist",
"release:major": "changelog -M && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version major && git push origin && git push origin --tags",
"release:minor": "changelog -m && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version minor && git push origin && git push origin --tags",
"release:patch": "changelog -p && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version patch && git push origin && git push origin --tags"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx}": [
"npm run lint -- --fix",
"prettier --write",
"npm run test -- --bail --passWithNoTests --findRelatedTests"
]
},
"jest": {
"transform": {
"^.+\\.js$": "babel-jest"
},
"moduleFileExtensions": [
"js"
]
},
"repository": {
"type": "git",
"url": "https://github.com/mukeshsoni/react-telephone-input"
},
"keywords": [
"react-component",
"react-telephone-input",
"international-telephone-input",
"react"
],
"author": "Mukesh Soni",
"license": "MIT",
"bugs": {
"url": "https://github.com/mukeshsoni/react-telephone-input/issues"
},
"homepage": "https://github.com/mukeshsoni/react-telephone-input",
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/preset-env": "^7.9.5",
"@babel/preset-react": "^7.9.4",
"@testing-library/react": "^11.1.2",
"@types/jest": "^25.2.1",
"@types/react": "^16.9.56",
"@typescript-eslint/eslint-plugin": "^2.30.0",
"@typescript-eslint/parser": "^2.30.0",
"awesome-typescript-loader": "^5.2.1",
"babel-eslint": "^10.0.3",
"babel-jest": "^26.0.1",
"babel-plugin-remove-data-test-id-attribute": "^1.0.0",
"eslint": "^5.16.0",
"eslint-config-airbnb": "^17.1.1",
"eslint-plugin-import": "^2.11.0",
"eslint-plugin-jest": "^23.8.2",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.7.0",
"generate-changelog": "^1.8.0",
"gh-pages": "^2.2.0",
"husky": "^4.2.3",
"jest": "^25.5.1",
"lint-staged": "^10.2.0",
"nwb": "^0.24.5",
"prettier": "^2.0.5",
"react": "^16.3.2",
"react-dom": "^16.13.1",
"regenerator-runtime": "0.13.5",
"ts-jest": "^25.4.0",
"tsdx": "^0.13.2",
"typescript": "^3.8.3"
},
"dependencies": {
"@types/classnames": "^2.2.10",
"@types/debounce": "^1.2.0",
"@types/lodash.memoize": "^4.1.6",
"classnames": "^2.1.2",
"country-telephone-data": "0.6.2",
"cramda": "^0.4.4",
"debounce": "^1.1.0",
"lodash.memoize": "^4.1.2",
"react-click-outside": "^3.0.1",
"react-tiny-virtual-list": "^2.1.4"
},
"peerDependencies": {
"react": ">=0.14.0 || ^15.0.0 || ^16.0.0"
},
"browserify-shim": {
"classnames": "global:classNames",
"react": "global:React"
}
}