|
6 | 6 | "name": "Leandro Augusto Lemos",
|
7 | 7 | "url": "http://leandrowd.github.io/"
|
8 | 8 | },
|
9 |
| - "main": "lib/cjs/index.js", |
10 |
| - "module": "lib/es/index.js", |
| 9 | + "main": "lib/js/index.js", |
11 | 10 | "types": "lib/ts/index.d.ts",
|
12 | 11 | "license": "MIT",
|
13 | 12 | "keywords": [
|
|
44 | 43 | "typecheck": "tsc -p tsconfig.json --noEmit",
|
45 | 44 | "update-snapshots": "jest --updateSnapshot",
|
46 | 45 | "build": "yarn lib:build",
|
47 |
| - "lib:build": "yarn lib:build-cjs && yarn lib:build-es && yarn lib:build-styles && yarn lib:build-types", |
48 |
| - "lib:build-cjs": "babel ./src -d lib/cjs --ignore './src/__tests__' --extensions .ts,.tsx --config-file ./babel.config.cjs.json", |
49 |
| - "lib:build-es": "babel ./src -d lib/es --ignore './src/__tests__' --extensions .ts,.tsx --config-file ./babel.config.json", |
| 46 | + "lib:build": "yarn lib:build-js && yarn lib:build-styles && yarn lib:build-types", |
| 47 | + "lib:build-js": "babel ./src -d lib/js --ignore './src/__tests__' --extensions .ts,.tsx --config-file ./babel.config.json", |
50 | 48 | "lib:build-styles": "mkdirp lib/styles && node-sass src/carousel.scss > lib/styles/carousel.css && node-sass --output-style compressed src/carousel.scss > lib/styles/carousel.min.css",
|
51 | 49 | "lib:build-types": "tsc -p tsconfig.types.json",
|
52 | 50 | "lib:pre-publish": "npm version patch && git push origin master",
|
|
0 commit comments