-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
107 lines (107 loc) · 3.7 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
{
"name": "material-ui-phone-field",
"version": "0.0.2",
"description": "Highly customizable Typescript-ready Phone Input Field for Material UI.",
"keywords": [
"material-ui",
"react",
"phone",
"format",
"telephone",
"phone-field",
"phone-input",
"typescript"
],
"browser": "dist/index.js",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"typings": "dist/index.d.ts",
"repository": "[email protected]:nextglabs/material-ui-phone-field.git",
"homepage": "https://nextglabs.github.io/material-ui-phone-field/",
"bugs": {
"url": "https://github.com/nextglabs/material-ui-phone-field/issues"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com/"
},
"author": "Bassem Allani",
"license": "MIT",
"scripts": {
"build": "yarn build:pre && yarn build:main && yarn build:post",
"build:pre": "rimraf dist",
"build:main": "rollup -c",
"build:post": "yarn copy-typings",
"test": "yarn test:lint && yarn test:types && yarn jest:test",
"copy-typings": "copyfiles -u 1 \"./src/*.d.ts\" dist",
"test:lint": "eslint src/**/*.{ts,tsx}",
"test:lint-fix": "eslint --fix src/**/*.{ts,tsx}",
"test:types": "tsc --pretty --noEmit",
"jest:test": "cross-env BABEL_ENV=test jest",
"jest:coverage": "jest --coverage",
"jest:cache": "jest --clearCache",
"release:major": "changelog -M && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && yarn version --major && git push origin && git push origin --tags && yarn publish",
"release:minor": "changelog -m && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && yarn version --minor && git push origin && git push origin --tags && yarn publish",
"release:patch": "changelog -p && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && yarn version --patch && git push origin && git push origin --tags && yarn publish",
"deploy-storybook": "yarn build-storybook && gh-pages -d storybook-static",
"build-storybook": "build-storybook",
"storybook": "start-storybook -p 6006"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@babel/core": "^7.13.10",
"@material-ui/core": "^4.11.3",
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-node-resolve": "^11.2.0",
"@rollup/plugin-strip": "^2.0.0",
"@storybook/addon-actions": "^6.1.21",
"@storybook/addon-essentials": "^6.1.21",
"@storybook/addon-links": "^6.1.21",
"@storybook/react": "^6.1.21",
"@testing-library/jest-dom": "^5.11.9",
"@testing-library/react": "^11.2.5",
"@testing-library/user-event": "^13.0.7",
"@types/lodash": "^4.14.168",
"@types/react": "^17.0.3",
"@types/react-dom": "^17.0.2",
"@typescript-eslint/eslint-plugin": "^4.18.0",
"@typescript-eslint/parser": "^4.18.0",
"babel-loader": "^8.2.2",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"css-loader": "^5.1.3",
"eslint": "^7.22.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-prettier": "^3.3.1",
"generate-changelog": "^1.8.0",
"gh-pages": "^3.1.0",
"jest": "^26.6.3",
"prettier": "^2.2.1",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"rimraf": "^3.0.2",
"rollup": "^2.42.1",
"rollup-plugin-sass": "^1.2.2",
"rollup-plugin-typescript2": "^0.30.0",
"sass": "^1.32.8",
"sass-loader": "^10.x",
"style-loader": "^2.0.0",
"ts-jest": "^26.5.4",
"typescript": "^4.2.3"
},
"peerDependencies": {
"@material-ui/core": "^4.11.3",
"clsx": "^1.1.1",
"lodash": "^4.17.21"
}
}