package.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. {
  2. "name": "express-history-api-fallback",
  3. "version": "2.2.1",
  4. "description": "Simple fallback for Express-served single page apps that use the HTML5 History API for client side routing.",
  5. "main": "./dist",
  6. "scripts": {
  7. "start": "npm run start-audit & npm run start-tdd",
  8. "start-audit": "watch-spawn --initial --quiet --pattern 'package.json' npm run test-audit",
  9. "start-tdd": "watch-spawn --initial --quiet --pattern '{lib,test}/**/*.js' npm run test-tdd",
  10. "test": "npm run test-audit & npm run test-tdd",
  11. "test-audit": "node-license-validator",
  12. "test-tdd": "standard & npm run coverage",
  13. "coverage": "babel-node node_modules/.bin/isparta cover node_modules/.bin/_mocha",
  14. "prepublish": "npm run clean && npm test && npm run build",
  15. "clean": "rimraf dist",
  16. "build": "mkdirp dist && babel lib --out-file dist/index.js",
  17. "codecov": "cat coverage/coverage.json | codecov"
  18. },
  19. "repository": "gitlab:sebdeckers/express-history-api-fallback",
  20. "keywords": [
  21. "express",
  22. "html5",
  23. "history api",
  24. "fallback",
  25. "spa",
  26. "middleware",
  27. "connect",
  28. "pushstate",
  29. "popstate",
  30. "single page app",
  31. "router",
  32. "client side"
  33. ],
  34. "author": "Sebastiaan Deckers <sebdeckers83@gmail.com>",
  35. "license": "ISC",
  36. "bugs": "https://gitlab.com/sebdeckers/express-history-api-fallback/issues",
  37. "homepage": "https://gitlab.com/sebdeckers/express-history-api-fallback#readme",
  38. "devDependencies": {
  39. "babel": "^5.8.29",
  40. "babel-eslint": "^4.1.3",
  41. "chai": "^3.4.0",
  42. "codecov.io": "^0.1.6",
  43. "isparta": "^3.1.0",
  44. "mkdirp": "^0.5.1",
  45. "mocha": "^2.3.3",
  46. "node-license-validator": "^1.2.1",
  47. "rimraf": "^2.4.3",
  48. "sinon": "^1.17.2",
  49. "sinon-chai": "^2.8.0",
  50. "standard": "^5.3.1",
  51. "watch-spawn": "^1.0.6"
  52. },
  53. "standard": {
  54. "parser": "babel-eslint"
  55. }
  56. }