Skip to content

Commit 827d622

Browse files
authored
Merge pull request #12 from tusbar/microbundle
Use microbundle
2 parents 250e18e + f08aa39 commit 827d622

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

package.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@
44
"description": "Safely get a dot-notated property within an object.",
55
"main": "dist/dlv.js",
66
"browser": "dist/dlv.umd.js",
7-
"jsnext:main": "index.js",
7+
"module": "dist/dlv.es.js",
88
"scripts": {
9-
"build": "mkdir -p dist && npm run -s build:cjs && npm run -s build:umd",
10-
"build:cjs": "rollup -i $npm_package_jsnext_main -f cjs --no-strict | uglifyjs -cm -o $npm_package_main",
11-
"build:umd": "rollup -i $npm_package_jsnext_main -n $npm_package_name -f umd --no-strict | uglifyjs -cm -o $npm_package_browser",
9+
"dev": "microbundle watch",
10+
"build": "microbundle",
1211
"prepublish": "npm run build",
1312
"test": "node test",
1413
"release": "npm run build && npm test && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"
@@ -26,7 +25,6 @@
2625
"repository": "developit/dlv",
2726
"license": "MIT",
2827
"devDependencies": {
29-
"rollup": "^0.41.6",
30-
"uglifyjs": "^2.4.10"
28+
"microbundle": "^0.2.4"
3129
}
3230
}

0 commit comments

Comments
 (0)