forked from s-yadav/react-number-format
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·117 lines (117 loc) · 4.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
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
{
"name": "react-number-format",
"description": "React component to format number in an input or as a text.",
"version": "5.1.3",
"main": "dist/react-number-format.cjs.js",
"module": "dist/react-number-format.es.js",
"types": "types/index.d.ts",
"sideEffects": false,
"author": "Sudhanshu Yadav",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/s-yadav/react-number-format"
},
"bugs": {
"mail": "[email protected]",
"url": "https://github.com/s-yadav/react-number-format/issues"
},
"keywords": [
"react-component",
"react",
"currency",
"input",
"number",
"number-format",
"mask"
],
"scripts": {
"start": "webpack-dev-server --hot",
"start-doc": "docusaurus start documentation/v5 --port 9000",
"build-doc": "docusaurus build documentation/v5",
"publish-doc": "node publish_doc.js",
"format": "prettier --write ./src ./test ./example",
"build": "cross-env yarn build-dist && yarn build-types && yarn test-build && yarn test-ts && yarn format && yarn build-doc && yarn publish-doc",
"build-dist": "cross-env NODE_ENV=production rollup -c rollup.config.js",
"build-types": "tsc -p tsconfig.build.json",
"test": "cross-env NODE_ENV=test karma start && yarn test-ts",
"test-build": "cross-env NODE_ENV=production TEST_BROWSER=ChromeHeadless karma start",
"test-ts": "yarn tsc --noEmit",
"lint": "cross-env eslint src/**"
},
"devDependencies": {
"@babel/cli": "^7.6.2",
"@babel/core": "^7.6.2",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-proposal-object-rest-spread": "^7.6.2",
"@babel/plugin-transform-flow-strip-types": "^7.4.4",
"@babel/preset-env": "^7.6.2",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.6.2",
"@rollup/plugin-buble": "^0.21.3",
"@rollup/plugin-typescript": "^8.3.0",
"@testing-library/react": "^12.1.2",
"@testing-library/react-hooks": "8.0.1",
"@testing-library/user-event": "^13.5.0",
"@types/react": "^18.0.6",
"@typescript-eslint/parser": "^5.15.0",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.7",
"@cmfcmf/docusaurus-search-local": "^0.11.0",
"@docusaurus/core": "2.0.0-beta.18",
"@docusaurus/preset-classic": "2.0.0-beta.18",
"@mdx-js/react": "^1.6.22",
"clsx": "^1.1.1",
"prism-react-renderer": "^1.3.1",
"babel-eslint": "^10.0.3",
"babel-loader": "^8.0.6",
"babel-plugin-add-module-exports": "^1.0.2",
"babel-plugin-transform-object-assign": "^6.22.0",
"classnames": "^2.2.6",
"cross-env": "^6.0.3",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.14.0",
"eslint": "^6.5.1",
"eslint-config-prettier": "^8.3.0",
"eslint-loader": "^3.0.2",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-react": "^7.15.1",
"gh-pages": "^4.0.0",
"jasmine": "^2.4.1",
"jasmine-core": "^2.4.1",
"karma": "^4.3.0",
"karma-chrome-launcher": "^3.1.0",
"karma-cli": "^2.0.0",
"karma-jasmine": "^0.3.7",
"karma-jasmine-html-reporter": "^0.2.0",
"karma-rollup-preprocessor": "^7.0.2",
"karma-sourcemap-loader": "^0.3.7",
"karma-spec-reporter": "^0.0.32",
"karma-webpack": "^5.0.0",
"material-ui": "^0.20.2",
"pascal-case": "3.1.2",
"prettier": "^2.2.1",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-transform-hmr": "^1.0.4",
"rollup": "^1.22.0",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-filesize": "^6.2.0",
"rollup-plugin-license": "^0.12.1",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-uglify": "^6.0.3",
"ts-loader": "^9.2.6",
"typescript": "^4.6.3",
"webpack": "^5.69.1",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "^4.7.4"
},
"peerDependencies": {
"react": "^0.14 || ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^0.14 || ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0"
},
"dependencies": {
"prop-types": "^15.7.2"
}
}