forked from smucode/react-world-flags
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 2.01 KB
/
package.json
File metadata and controls
70 lines (70 loc) · 2.01 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
{
"name": "react-world-flags",
"version": "1.4.0",
"description": "SVG flags of the world for react",
"main": "dist/react-world-flags.js",
"jest": {
"moduleNameMapper": {
"\\.(svg)$": "<rootDir>/src/__mocks__/fileMock.js"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/smucode/react-world-flags.git"
},
"keywords": [
"react",
"reactjs",
"world",
"flag",
"flags",
"svg"
],
"author": "SMU",
"license": "MIT",
"bugs": {
"url": "https://github.com/smucode/react-world-flags/issues"
},
"homepage": "https://github.com/smucode/react-world-flags#readme",
"dependencies": {
"svg-country-flags": "github:geekupvn/country-flags",
"svgo": "^1.3.2",
"world-countries": "^4.0.0"
},
"peerDependencies": {
"react": ">=0.14"
},
"devDependencies": {
"@babel/cli": "^7.10.5",
"@babel/core": "^7.11.1",
"@babel/node": "^7.12.6",
"@babel/preset-env": "^7.12.1",
"@babel/preset-react": "^7.12.5",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.2.1",
"eslint": "^7.13.0",
"eslint-config-cleanjs": "^4.0.0",
"eslint-plugin-better": "^0.1.5",
"eslint-plugin-fp": "^2.3.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-react": "^7.20.6",
"file-loader": "^6.2.0",
"jest": "^26.6.3",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-test-renderer": "^17.0.1",
"svg-url-loader": "^6.0.0",
"url-loader": "^4.1.1",
"webpack": "^5.4.0",
"webpack-cli": "^4.2.0"
},
"scripts": {
"test": "jest",
"build": "webpack",
"lint": "eslint src/",
"gen": "babel-node scripts/genFlagExports.js",
"build-demo": "webpack --config docs/webpack.config.js",
"pre-publish": "npm run compress && npm run gen && npm run lint && npm run test && npm run build && npm run build-demo",
"compress": "svgo --multipass -f node_modules/svg-country-flags/svg/ ./src/svgs && (cd ./src/svgs && sed -i -e \"s/-inkscape-font-specification:'Narkisim, Normal'//g\" *)"
}
}