|
1 | 1 | {
|
2 | 2 | "name": "react-spinners",
|
3 |
| - "version": "0.17.0-beta.4", |
| 3 | + "version": "0.17.0-beta.5", |
4 | 4 | "description": "A collection of react loading spinners",
|
5 | 5 | "repository": {
|
6 | 6 | "type": "git",
|
|
29 | 29 | "progress",
|
30 | 30 | "activity"
|
31 | 31 | ],
|
32 |
| - "main": "cjs/index.js", |
| 32 | + "main": "index.js", |
33 | 33 | "module": "esm/index.js",
|
34 |
| - "exports": { |
35 |
| - "import": "./esm/index.js", |
36 |
| - "require": "./cjs/index.js" |
37 |
| - }, |
38 | 34 | "scripts": {
|
39 |
| - "prepare": "$npm_execpath run clean && $npm_execpath run build:cjs & $npm_execpath run build:esm", |
40 |
| - "build:cjs": "tsc --project tsconfig.cjs.json --outDir cjs", |
| 35 | + "prepare": "$npm_execpath run clean && $npm_execpath run build && $npm_execpath run build:esm", |
| 36 | + "build": "tsc --project tsconfig.cjs.json", |
41 | 37 | "build:esm": "tsc --project tsconfig.esm.json --outDir esm",
|
42 | 38 | "build:demo": "$npm_execpath run vite build",
|
43 | 39 | "dev:demo": "vite dev",
|
44 | 40 | "patch": "npm version patch && npm publish && npm run clean",
|
45 | 41 | "minor": "npm version minor && npm publish && npm run clean",
|
46 | 42 | "major": "npm version major && npm publish && npm run clean",
|
47 |
| - "clean": "rm -rf cjs; rm -rf esm", |
| 43 | + "clean": "rm -rf helpers/; rm -f *Loader.js; rm -f *Loader.d.ts; rm -f index.js; rm -f index.d.ts; rm -rf esm", |
48 | 44 | "lint": "eslint",
|
49 | 45 | "test": "jest",
|
50 | 46 | "coveralls": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls",
|
|
0 commit comments