package.json 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. {
  2. "name": "magic-string",
  3. "version": "0.25.9",
  4. "description": "Modify strings, generate sourcemaps",
  5. "keywords": [
  6. "string",
  7. "string manipulation",
  8. "sourcemap",
  9. "templating",
  10. "transpilation"
  11. ],
  12. "repository": "https://github.com/rich-harris/magic-string",
  13. "license": "MIT",
  14. "author": "Rich Harris",
  15. "main": "dist/magic-string.cjs.js",
  16. "module": "dist/magic-string.es.js",
  17. "jsnext:main": "dist/magic-string.es.js",
  18. "typings": "index.d.ts",
  19. "files": [
  20. "dist/*",
  21. "index.d.ts",
  22. "README.md"
  23. ],
  24. "scripts": {
  25. "build": "rollup -c",
  26. "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
  27. "format": "prettier --single-quote --print-width 100 --use-tabs --write src/*.js src/**/*.js",
  28. "lint": "eslint src test",
  29. "prepare": "npm run build",
  30. "prepublishOnly": "rm -rf dist && npm test",
  31. "release": "bumpp -x \"npm run changelog\" --all --commit --tag --push && npm publish",
  32. "pretest": "npm run lint && npm run build",
  33. "test": "mocha",
  34. "watch": "rollup -cw"
  35. },
  36. "dependencies": {
  37. "sourcemap-codec": "^1.4.8"
  38. },
  39. "devDependencies": {
  40. "@rollup/plugin-buble": "^0.21.3",
  41. "@rollup/plugin-node-resolve": "^13.1.3",
  42. "@rollup/plugin-replace": "^4.0.0",
  43. "bumpp": "^7.1.1",
  44. "conventional-changelog-cli": "^2.2.2",
  45. "eslint": "^7.32.0",
  46. "mocha": "^9.2.1",
  47. "prettier": "^2.5.1",
  48. "rollup": "^2.69.0",
  49. "source-map": "^0.6.1",
  50. "source-map-support": "^0.5.21"
  51. }
  52. }