package.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. {
  2. "name": "sourcemap-codec",
  3. "version": "1.4.8",
  4. "description": "Encode/decode sourcemap mappings",
  5. "main": "dist/sourcemap-codec.umd.js",
  6. "module": "dist/sourcemap-codec.es.js",
  7. "types": "dist/types/sourcemap-codec.d.ts",
  8. "scripts": {
  9. "test": "mocha",
  10. "build": "rm -rf dist && rollup -c && tsc",
  11. "pretest": "npm run build",
  12. "prepublish": "npm test",
  13. "lint": "eslint src",
  14. "pretest-coverage": "npm run build",
  15. "test-coverage": "rm -rf coverage/* && istanbul cover --report json node_modules/.bin/_mocha -- -u exports -R spec test/test.js",
  16. "posttest-coverage": "remap-istanbul -i coverage/coverage-final.json -o coverage/coverage-remapped.json -b dist && remap-istanbul -i coverage/coverage-final.json -o coverage/coverage-remapped.lcov -t lcovonly -b dist && remap-istanbul -i coverage/coverage-final.json -o coverage/coverage-remapped -t html -b dist",
  17. "ci": "npm run test-coverage && codecov < coverage/coverage-remapped.lcov"
  18. },
  19. "repository": {
  20. "type": "git",
  21. "url": "https://github.com/Rich-Harris/sourcemap-codec"
  22. },
  23. "keywords": [
  24. "sourcemap",
  25. "vlq"
  26. ],
  27. "author": "Rich Harris",
  28. "license": "MIT",
  29. "bugs": {
  30. "url": "https://github.com/Rich-Harris/sourcemap-codec/issues"
  31. },
  32. "homepage": "https://github.com/Rich-Harris/sourcemap-codec",
  33. "dependencies": {},
  34. "devDependencies": {
  35. "codecov.io": "^0.1.6",
  36. "console-group": "^0.3.3",
  37. "eslint": "^6.0.1",
  38. "eslint-plugin-import": "^2.18.0",
  39. "istanbul": "^0.4.5",
  40. "mocha": "^6.1.4",
  41. "remap-istanbul": "^0.13.0",
  42. "rollup": "^1.16.4",
  43. "rollup-plugin-node-resolve": "^5.2.0",
  44. "rollup-plugin-typescript": "^1.0.1",
  45. "typescript": "^3.5.2"
  46. },
  47. "files": [
  48. "dist/*.js",
  49. "dist/*.js.map",
  50. "dist/**/*.d.ts",
  51. "README.md"
  52. ]
  53. }