web 3d图形渲染器
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

70 lines
2.7 KiB

  1. {
  2. "name": "saxes",
  3. "description": "An evented streaming XML parser in JavaScript",
  4. "author": "Louis-Dominique Dubeau <ldd@lddubeau.com>",
  5. "version": "5.0.1",
  6. "main": "saxes.js",
  7. "types": "saxes.d.ts",
  8. "license": "ISC",
  9. "engines": {
  10. "node": ">=10"
  11. },
  12. "scripts": {
  13. "tsc": "tsc",
  14. "copy": "cp -p README.md build/dist && sed -e'/\"private\": true/d' package.json > build/dist/package.json",
  15. "build": "npm run tsc && npm run copy",
  16. "test": "npm run build && mocha --delay",
  17. "lint": "eslint --ignore-path .gitignore '**/*.ts' '**/*.js'",
  18. "lint-fix": "npm run lint -- --fix",
  19. "posttest": "npm run lint",
  20. "typedoc": "typedoc --tsconfig tsconfig.json --name saxes --out build/docs/ --listInvalidSymbolLinks --excludePrivate --excludeNotExported",
  21. "build-docs": "npm run typedoc",
  22. "gh-pages": "npm run build-docs && mkdir -p build && (cd build; rm -rf gh-pages; git clone .. --branch gh-pages gh-pages) && mkdir -p build/gh-pages/latest && find build/gh-pages/latest -type f -delete && cp -rp build/docs/* build/gh-pages/latest && find build/gh-pages -type d -empty -delete",
  23. "self:publish": "cd build/dist && npm_config_tag=`simple-dist-tag` npm publish",
  24. "version": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md",
  25. "postversion": "npm run test && npm run self:publish",
  26. "postpublish": "git push origin --follow-tags"
  27. },
  28. "repository": "https://github.com/lddubeau/saxes.git",
  29. "devDependencies": {
  30. "@commitlint/cli": "^8.3.5",
  31. "@commitlint/config-angular": "^8.3.4",
  32. "@types/chai": "^4.2.11",
  33. "@types/mocha": "^7.0.2",
  34. "@typescript-eslint/eslint-plugin": "^2.27.0",
  35. "@typescript-eslint/eslint-plugin-tslint": "^2.27.0",
  36. "@typescript-eslint/parser": "^2.27.0",
  37. "@xml-conformance-suite/js": "^2.0.0",
  38. "@xml-conformance-suite/mocha": "^2.0.0",
  39. "@xml-conformance-suite/test-data": "^2.0.0",
  40. "chai": "^4.2.0",
  41. "conventional-changelog-cli": "^2.0.31",
  42. "eslint": "^6.8.0",
  43. "eslint-config-lddubeau-base": "^5.2.0",
  44. "eslint-config-lddubeau-ts": "^1.1.7",
  45. "eslint-import-resolver-typescript": "^2.0.0",
  46. "eslint-plugin-import": "^2.20.2",
  47. "eslint-plugin-jsx-a11y": "^6.2.3",
  48. "eslint-plugin-prefer-arrow": "^1.2.0",
  49. "eslint-plugin-react": "^7.19.0",
  50. "eslint-plugin-simple-import-sort": "^5.0.2",
  51. "husky": "^4.2.5",
  52. "mocha": "^7.1.1",
  53. "renovate-config-lddubeau": "^1.0.0",
  54. "simple-dist-tag": "^1.0.2",
  55. "ts-node": "^8.8.2",
  56. "tsd": "^0.11.0",
  57. "tslint": "^6.1.1",
  58. "tslint-microsoft-contrib": "^6.2.0",
  59. "typedoc": "^0.17.4",
  60. "typescript": "^3.8.3"
  61. },
  62. "dependencies": {
  63. "xmlchars": "^2.2.0"
  64. },
  65. "husky": {
  66. "hooks": {
  67. "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
  68. }
  69. }
  70. }