Last active
August 8, 2021 14:00
-
-
Save bclinkinbeard/3772689d35d4968f1491e4a57cfc08d1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
server: '.', | |
files: [ | |
'*.html', | |
'src/*' | |
], | |
ui: false, | |
notify: false | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "cutscores-viz", | |
"version": "0.1.0", | |
"description": "D3 visualization of state assessment cutscores", | |
"keywords": [ | |
"d3", | |
"d3-module" | |
], | |
"license": "Apache-2.0", | |
"author": "Ben Clinkinbeard <[email protected]> (http://benclinkinbeard.com/)", | |
"main": "build/cutscores-viz.js", | |
"module": "index", | |
"jsnext:main": "index", | |
"scripts": { | |
"clean": "rm -rf build && mkdir build", | |
"build": "rollup -c -o build/$npm_package_name.js", | |
"watch": "npm run build -- -w", | |
"minify": "uglifyjs build/$npm_package_name.js -c -m -o build/$npm_package_name.min.js", | |
"bs": "browser-sync start --config bs-config.js", | |
"start": "npm run build && run-p watch bs", | |
"prepublish": "npm run clean && npm run build && npm run minify", | |
"postpublish": "zip -j build/$npm_package_name.zip -- LICENSE README.md build/*" | |
}, | |
"devDependencies": { | |
"browser-sync": "2.15.0", | |
"npm-run-all": "3.1.0", | |
"rollup": "0.36.0", | |
"rollup-plugin-buble": "0.14.0", | |
"rollup-plugin-commonjs": "5.0.4", | |
"rollup-plugin-node-resolve": "2.0.0", | |
"rollup-watch": "2.5.0", | |
"uglify-js": "2.7.3" | |
}, | |
"dependencies": { | |
"query-string": "4.2.3" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import nodeResolve from 'rollup-plugin-node-resolve'; | |
import commonjs from 'rollup-plugin-commonjs'; | |
import buble from 'rollup-plugin-buble'; | |
export default { | |
entry: 'index.js', | |
plugins: [ | |
nodeResolve(), | |
commonjs(), | |
buble({objectAssign: 'Object.assign'}) | |
], | |
format: 'umd', | |
moduleName: 'd3' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment