Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 5 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-spinners",
"version": "0.17.0-beta.4",
"version": "0.17.0-beta.5",
"description": "A collection of react loading spinners",
"repository": {
"type": "git",
Expand Down Expand Up @@ -29,22 +29,18 @@
"progress",
"activity"
],
"main": "cjs/index.js",
"main": "index.js",
"module": "esm/index.js",
"exports": {
"import": "./esm/index.js",
"require": "./cjs/index.js"
},
"scripts": {
"prepare": "$npm_execpath run clean && $npm_execpath run build:cjs & $npm_execpath run build:esm",
"build:cjs": "tsc --project tsconfig.cjs.json --outDir cjs",
"prepare": "$npm_execpath run clean && $npm_execpath run build && $npm_execpath run build:esm",
"build": "tsc --project tsconfig.cjs.json",
"build:esm": "tsc --project tsconfig.esm.json --outDir esm",
"build:demo": "$npm_execpath run vite build",
"dev:demo": "vite dev",
"patch": "npm version patch && npm publish && npm run clean",
"minor": "npm version minor && npm publish && npm run clean",
"major": "npm version major && npm publish && npm run clean",
"clean": "rm -rf cjs; rm -rf esm",
"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",
"lint": "eslint",
"test": "jest",
"coveralls": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls",
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"tests",
"examples",
"src/*.test.tsx",
"src/helpers/*.test.*",
"stories",
"test-apps"
]
Expand Down