|
5 | 5 | "main": "dist/bundle.cjs.js", |
6 | 6 | "module": "dist/bundle.esm.js", |
7 | 7 | "sideEffects": false, |
| 8 | + "files": [ |
| 9 | + "dist" |
| 10 | + ], |
8 | 11 | "scripts": { |
9 | 12 | "prebuild": "rimraf dist", |
10 | 13 | "build": "rollup -c", |
11 | | - "format": "eslint **/*.js && prettier **/*.js", |
12 | | - "format:fix": "eslint **/*.js --fix && prettier **/*.js --write", |
| 14 | + "format": "eslint \"**/*.{js,jsx}\" && prettier \"**/*.js\"", |
| 15 | + "format:fix": "eslint \"**/*.js\" --fix && prettier \"**/*.js\" --write", |
13 | 16 | "storybook": "start-storybook -p 9001 -c storybook", |
14 | 17 | "storybook:build": "build-storybook -c storybook", |
15 | 18 | "test": "jest", |
|
18 | 21 | "test:coveralls": "jest --coverage && coveralls < coverage/lcov.info", |
19 | 22 | "test:staged": "jest --findRelatedTests", |
20 | 23 | "predeploy": "npm run storybook:build", |
21 | | - "deploy": "gh-pages -d storybook-static" |
| 24 | + "deploy": "gh-pages -d storybook-static", |
| 25 | + "prepublishOnly": "npm run build" |
22 | 26 | }, |
23 | 27 | "husky": { |
24 | 28 | "hooks": { |
|
46 | 50 | "bugs": { |
47 | 51 | "url": "https://github.com/amareshsm/react-spinner-css/issues" |
48 | 52 | }, |
49 | | - "homepage": "https://github.com/amareshsm/react-spinner-css#readme", |
| 53 | + "homepage": "https://amareshsm.github.io/react-spinner-css/", |
50 | 54 | "devDependencies": { |
51 | 55 | "@babel/core": "^7.10.5", |
52 | 56 | "@babel/preset-env": "^7.10.4", |
|
57 | 61 | "babel-core": "^7.0.0-bridge.0", |
58 | 62 | "babel-jest": "^26.1.0", |
59 | 63 | "babel-loader": "^8.1.0", |
| 64 | + "coveralls": "^3.1.0", |
60 | 65 | "eslint": "^7.5.0", |
61 | 66 | "eslint-config-prettier": "^6.11.0", |
62 | 67 | "eslint-config-standard": "^14.1.1", |
|
0 commit comments