Skip to content

Commit c9cec9a

Browse files
committed
Migrating to package form
2 parents 00fbfa8 + 49aa695 commit c9cec9a

21 files changed

+3605
-14568
lines changed

dist/index.cjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
//# sourceMappingURL=index.cjs.map

dist/index.cjs.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.modern.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.modern.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.module.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.module.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.umd.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.umd.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 3548 additions & 14200 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,28 @@
11
{
22
"name": "@jasonrundell/react-mega-menu",
3-
"version": "0.3.1",
3+
"type": "module",
4+
"source": "src/index.js",
5+
"exports": "./dist/index.modern.js",
6+
"main": "./dist/index.cjs",
7+
"module": "./dist/index.module.js",
8+
"unpkg": "./dist/index.umd.js",
9+
"version": "1.0.0",
410
"dependencies": {
5-
"@testing-library/jest-dom": "^5.14.1",
6-
"@testing-library/react": "^12.0.0",
7-
"@testing-library/user-event": "^13.2.1",
8-
"babel-plugin-polyfill-corejs2": "^0.2.2",
9-
"core-js": "^3.16.1",
1011
"husky": "^7.0.1",
1112
"node-sass": "^6.0.1",
12-
"react": "^17.0.2",
13-
"react-dom": "^17.0.2",
14-
"react-scripts": "4.0.3"
15-
},
16-
"repository": {
17-
"url": "[email protected]:jasonrundell/react-mega-menu.git"
13+
"react": "^17.0.2"
1814
},
1915
"devDependencies": {
20-
"netlify-lambda": "^2.0.13",
21-
"npm-run-all": "^4.1.5",
16+
"@babel/core": "^7.15.0",
17+
"microbundle": "^0.13.3",
2218
"prettier": "^2.3.2"
2319
},
20+
"repository": {
21+
"url": "[email protected]:jasonrundell/react-mega-menu.git"
22+
},
2423
"scripts": {
25-
"start": "react-scripts start",
26-
"build": "react-scripts build",
27-
"test": "react-scripts test",
28-
"eject": "react-scripts eject",
24+
"build": "microbundle",
25+
"dev": "microbundle watch",
2926
"format": "prettier --write src/**/*.{js,jsx.scss}"
3027
},
3128
"eslintConfig": {

0 commit comments

Comments
 (0)