File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed
Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 1- /dist.js
1+ /dist
22/node_modules
33/npm-debug.log
Original file line number Diff line number Diff line change 22 "name" : " dlv" ,
33 "version" : " 1.0.1" ,
44 "description" : " Safely get a dot-notated property within an object." ,
5- "main" : " dist.js" ,
5+ "main" : " dist/dlv.js" ,
6+ "browser" : " dist/dlv.umd.js" ,
67 "jsnext:main" : " index.js" ,
78 "scripts" : {
8- "build" : " rollup -f cjs --no-strict $npm_package_jsnext_main | uglifyjs -cm -o $npm_package_main" ,
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" ,
912 "prepublish" : " npm run build" ,
1013 "test" : " node test" ,
1114 "release" : " npm run build && npm test && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"
1720 ],
1821 "files" : [
1922 " index.js" ,
20- " dist.js "
23+ " dist"
2124 ],
22- "author" :
" Jason Miller <[email protected] >" ,
25+ "author" :
" Jason Miller <[email protected] > (http://jasonformat.com)" ,
26+ "repository" : " developit/dlv" ,
2327 "license" : " MIT" ,
2428 "devDependencies" : {
2529 "rollup" : " ^0.34.3" ,
You can’t perform that action at this time.
0 commit comments