package.json 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. {
  2. "name": "contour_plot",
  3. "version": "0.0.1",
  4. "author": "Ben Frederickson <ben@benfrederickson.com> (http:/www.benfrederickson.com)",
  5. "url": "https://github.com/benfred/contour_plot/issues",
  6. "devDependencies": {
  7. "rollup": "0.21.2",
  8. "uglify-js": "2",
  9. "jshint": "^2.8.0"
  10. },
  11. "description": "Contour Plots of Mathematical Functions",
  12. "main": "build/contour_plot.js",
  13. "jsnext:main": "index",
  14. "files": [
  15. "build",
  16. "src",
  17. "example.html",
  18. "*.js"
  19. ],
  20. "repository": {
  21. "type": "git",
  22. "url": "git+https://github.com/benfred/contour_plot.git"
  23. },
  24. "keywords": [
  25. "Contour Plot"
  26. ],
  27. "license": "MIT",
  28. "bugs": {
  29. "url": "https://github.com/benfred/contour_plot/issues"
  30. },
  31. "homepage": "https://github.com/benfred/contour_plot",
  32. "jshintConfig": {
  33. "esnext": true
  34. },
  35. "scripts": {
  36. "pretest": "mkdir -p build && node -e 'process.stdout.write(\"var version = \\\"\" + require(\"./package.json\").version + \"\\\"; export * from \\\"../index\\\"; export {version};\");' > build/bundle.js && rollup -f umd -u contour_plot -n contour_plot -o build/contour_plot.js -- build/bundle.js && cp build/contour_plot.js .",
  37. "test": "jshint src/*.js",
  38. "prepublish": "npm run test && uglifyjs build/contour_plot.js -c -m -o build/contour_plot.min.js && rm -f build/contour_plot.zip && zip -j build/contour_plot.zip -- LICENSE README.md build/contour_plot.js build/contour_plot.min.js"
  39. }
  40. }