|
2 | 2 | "name": "react-flag-icon-css",
|
3 | 3 | "description": "React SVG country flags component",
|
4 | 4 | "homepage": "https://github.com/matteocng/react-flag-icon-css#readme",
|
5 |
| - "version": "1.0.24", |
| 5 | + "version": "1.0.25", |
6 | 6 | "main": "./lib",
|
7 | 7 | "module": "./module",
|
8 | 8 | "author": {
|
|
107 | 107 | "postbuild:module": "npm run styles && flow-copy-source --ignore *__tests__/**/* -v src module",
|
108 | 108 | "postcoverage": "npm run coverage:codecov && npm run coverage:coveralls",
|
109 | 109 | "posttest:ci": "npm run lint && npm run flow && npm run prettier:check",
|
110 |
| - "prebuild:common": "npm run generate:types && npm run flow", |
111 | 110 | "prebuild": "npm run clean && npm run prebuild:common",
|
| 111 | + "prebuild:common": "npm run generate:types && npm run flow", |
112 | 112 | "prebuild:module": "npm run clean:module && npm run prebuild:common",
|
113 | 113 | "precoverage": "mkdirp .nyc_output",
|
114 | 114 | "prepublishOnly": "npm run test:ci && npm run audit && npm run build && npm run build:module",
|
115 | 115 | "prettier": "cross-env BABEL_ENV=build babel-node ./scripts/tasks/prettier.js write",
|
116 | 116 | "prettier:check": "cross-env BABEL_ENV=build babel-node ./scripts/tasks/prettier.js",
|
117 | 117 | "styles": "postcss -o lib/styles/main.css src/styles/main.css && cpy lib/styles/main.css module/styles/",
|
118 |
| - "test:ci": "cross-env BABEL_ENV=testing nyc ava", |
119 | 118 | "test": "cross-env BABEL_ENV=testing ava",
|
120 |
| - "watch:test": "npm run test -- --watch", |
121 |
| - "test:update:snapshots": "npm run test -- --update-snapshots" |
| 119 | + "test:ci": "cross-env BABEL_ENV=testing nyc ava", |
| 120 | + "test:update:snapshots": "npm run test -- --update-snapshots", |
| 121 | + "watch:test": "npm run test -- --watch" |
122 | 122 | },
|
123 | 123 | "license": "MIT",
|
124 | 124 | "ava": {
|
125 |
| - "require": [ |
126 |
| - "@babel/register", |
127 |
| - "esm", |
128 |
| - "./src/__tests__/index.js" |
129 |
| - ], |
130 | 125 | "babel": {
|
131 | 126 | "testOptions": {
|
132 | 127 | "presets": [
|
|
141 | 136 | },
|
142 | 137 | "files": [
|
143 | 138 | "**/*.test.js"
|
| 139 | + ], |
| 140 | + "require": [ |
| 141 | + "@babel/register", |
| 142 | + "esm", |
| 143 | + "./src/__tests__/index.js" |
144 | 144 | ]
|
145 | 145 | },
|
146 | 146 | "nyc": {
|
|
0 commit comments