Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 3.13 KB
/
Copy pathpackage.json
File metadata and controls
83 lines (83 loc) · 3.13 KB
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
{
"name": "@ericblade/react-currency-input",
"version": "1.4.5",
"description": "React component for inputting currency amounts",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"scripts": {
"audit": "npm audit fix --production",
"lint": "eslint src/**",
"build": "npm run build:es2015 && npm run build:esm && npm run build:cjs && npm run build:amd",
"build:amd": "tsc --module amd --target es5 --outFile dist/amd/index.js",
"build:es2015": "tsc --module es2015 --target es2015 --outDir dist/es2015",
"build:esm": "tsc --module es2015 --target es5 --outDir dist/esm",
"build:cjs": "tsc --module commonjs --target es5 --outDir dist/cjs",
"build-example": "npm run build && browserify examples/index.js -o examples/bundle.js -t [ babelify --presets [ @babel/preset-env ] ]",
"test:compat": "npm run build-example && npx playwright test --project=\"base tests\" --project=chromium --reporter=line,html",
"test:all-browsers": "npm run build-example && npx playwright test --reporter=line,html",
"test:with-react": "node scripts/test-react-version.cjs",
"test:with-react:all-browsers": "node scripts/test-react-version.cjs",
"test:react16": "npm run test:with-react -- 16",
"test:react17": "npm run test:with-react -- 17",
"test:react18": "npm run test:with-react -- 18",
"test:react19": "npm run test:with-react -- 19",
"test:matrix": "npm run test:react16 && npm run test:react17 && npm run test:react18 && npm run test:react19",
"test:matrix:all-browsers": "npm run test:with-react -- 16 all-browsers && npm run test:with-react -- 17 all-browsers && npm run test:with-react -- 18 all-browsers && npm run test:with-react -- 19 all-browsers",
"upgrade-deps": "npx npm-check-updates --doctor -u --peer",
"webpack": "webpack",
"webpack-dev": "webpack-dev-server"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ericblade/react-currency-input.git"
},
"keywords": [
"react",
"es6",
"javascript",
"money",
"currency",
"i18n",
"react-component"
],
"author": "Joe Sillitoe <jsillitoe@gmail.com>",
"contributors": [
"Eric Blade <blade.eric@gmail.com>"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/ericblade/react-currency-input/issues"
},
"homepage": "https://github.com/ericblade/react-currency-input#readme",
"peerDependencies": {
"react": ">=16.14.0 <20",
"react-dom": ">=16.14.0 <20"
},
"devDependencies": {
"@babel/preset-env": "^7.24.8",
"@babel/preset-react": "^7.24.7",
"@playwright/test": "^1.45.2",
"@types/node": "^20.14.11",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"ansi-regex": ">=6.0.1",
"babelify": "^10.0.0",
"browserify": "^17.0.0",
"cross-env": "^7.0.3",
"eslint": "^8.1.0",
"eslint-config-react-app": "^7.0.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"typescript": "^5.5.3"
},
"dependencies": {
"react-device-detect": "^2.2.3"
},
"@rollingversions": {
"versioningMode": "ALWAYS_INCREASING",
"versioning": "ALWAYS_INCREASING"
},
"publishConfig": {
"access": "public"
}
}