-
Notifications
You must be signed in to change notification settings - Fork 221
/
package.json
146 lines (146 loc) · 4.4 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
{
"name": "react-intl-tel-input",
"version": "0.0.0",
"description": "Telephone input component. Rewrite intl-tel-input in React.js.",
"author": "patw",
"workspaces": [
"website"
],
"contributors": [
{
"name": "Marc Cataford",
"email": "mcat@riseup.net",
"url": "https://mcataford.github.io"
}
],
"keywords": [
"react",
"react-component",
"tel",
"telephone",
"intl-tel-input",
"international-telephone-input",
"phonenumber"
],
"repository": {
"type": "git",
"url": "https://github.com/patw0929/react-intl-tel-input"
},
"bugs": {
"url": "https://github.com/patw0929/react-intl-tel-input/issues"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"peerDependencies": {
"react": ">15.4.2 <17.0.0",
"react-dom": ">15.4.2 <17.0.0"
},
"files": [
"dist/**/*"
],
"dependencies": {
"classnames": "^2.2.5",
"libphonenumber-js-utils": "^8.10.5",
"prop-types": "^15.6.1",
"react-style-proptype": "^3.0.0",
"underscore.deferred": "^0.4.0"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.2.0",
"@babel/plugin-proposal-class-properties": "^7.2.1",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/polyfill": "^7.0.0",
"@babel/preset-env": "^7.2.0",
"@babel/preset-react": "^7.0.0",
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@types/jquery": "^3.5.6",
"@types/node": "^14.0.13",
"@types/react": "^16.9.56",
"@types/react-dom": "^16.9.9",
"@typescript-eslint/eslint-plugin": "^4.31.1",
"@typescript-eslint/parser": "^4.31.1",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^23.6.0",
"babel-plugin-dynamic-import-node": "^2.2.0",
"babel-plugin-react-docgen": "^2.0.2",
"babel-plugin-transform-react-remove-prop-types": "^0.4.21",
"coveralls": "^2.11.9",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.5.0",
"eslint": "^7.32.0",
"eslint-config-airbnb": "~17.1.0",
"eslint-config-airbnb-base": "~13.1.0",
"eslint-config-prettier": "^6.10.0",
"eslint-import-resolver-typescript": "^2.4.0",
"eslint-loader": "^2.1.1",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jsx-a11y": "^6.1.1",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.11.0",
"eslint-plugin-security": "^1.3.0",
"husky": "^4.2.3",
"identity-obj-proxy": "^3.0.0",
"jasmine-reporters": "^2.2.0",
"jest": "^23.6.0",
"jsdom": "^9.2.1",
"lint-staged": "^11.1.1",
"packwatch": "^1.0.0",
"prettier": "^1.14.2",
"prettier-eslint": "^9.0.1",
"react": "^16.4.1",
"react-dom": "^16.4.1",
"rimraf": "2.5.4",
"sass": "^1.37.4",
"semantic-release": "^17.0.4",
"sinon": "^1.17.4",
"typescript": "^4.4.3"
},
"scripts": {
"prebuild": "yarn run clean",
"build": "yarn compile:js && yarn compile:dts && yarn compile:css && yarn compile:png",
"compile:js": "BABEL_ENV=production babel src -d dist",
"compile:dts": "rsync -avh --include='*/' --include='*.d.ts' --exclude='*' src/ dist --prune-empty-dirs",
"compile:css": "sass ./src/intlTelInput.scss ./dist/main.css",
"compile:png": "cp -r -v ./src/*.png ./dist",
"clean": "rimraf dist",
"website:start": "yarn workspace website run start",
"website:dryrun": "yarn workspace website run deploy:dryrun",
"website:deploy": "yarn workspace website run deploy",
"lint": "eslint src website/.storybook --ext .js,.d.ts",
"coverage": "yarn test --coverage",
"coverage-upload": "NODE_ENV=development cat coverage/lcov.info | yarn coveralls",
"test": "jest src",
"test:watch": "jest src --watchAll --coverage",
"test:ts": "tsc --project ./tsconfig.test.json",
"test:ts-watch": "tsc --watch --project ./tsconfig.test.json",
"footprint": "yarn build && yarn packwatch",
"lint:commits": "yarn commitlint --from HEAD --to HEAD --verbose"
},
"lint-staged": {
"*.js": [
"yarn eslint --"
],
"src/**/*.js": [
"yarn run test -- --bail --findRelatedTests"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"prettier": {
"semi": false,
"printWidth": 80,
"singleQuote": true,
"trailingComma": "all"
},
"engines": {
"node": ">=6.14.14"
},
"license": "MIT"
}