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.

package.json 2.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. {
  2. "name": "pe-library",
  3. "version": "1.0.1",
  4. "engines": {
  5. "node": ">=14",
  6. "npm": ">=7"
  7. },
  8. "engineStrict": true,
  9. "description": "Node.js library for Portable Executable format",
  10. "module": "./dist/index.js",
  11. "type": "module",
  12. "exports": {
  13. ".": "./dist/index.js",
  14. "./cjs": {
  15. "require": "./cjs.cjs"
  16. }
  17. },
  18. "types": "./dist/index.d.ts",
  19. "author": "jet",
  20. "license": "MIT",
  21. "homepage": "https://github.com/jet2jet/pe-library-js",
  22. "keywords": [
  23. "javascript",
  24. "library",
  25. "pe",
  26. "pe-executable",
  27. "portable-executable",
  28. "exe"
  29. ],
  30. "repository": {
  31. "type": "git",
  32. "url": "https://github.com/jet2jet/pe-library-js.git"
  33. },
  34. "funding": {
  35. "type": "github",
  36. "url": "https://github.com/sponsors/jet2jet"
  37. },
  38. "scripts": {
  39. "build": "npm run build:esm",
  40. "build:esm": "tsc -p ./tsconfig.app.json",
  41. "lint": "npm run lint:prettier && npm run lint:eslint",
  42. "lint:eslint": "eslint -c .eslintrc.yml --ext .js,.jsx,.ts,.tsx .",
  43. "lint:eslint:fix": "eslint -c .eslintrc.yml --fix --ext .js,.jsx,.ts,.tsx .",
  44. "lint:fix": "npm run lint:prettier:fix && npm run lint:eslint:fix",
  45. "lint:prettier": "prettier --config ./.prettierrc.yml --check \"**/*.{js,jsx,ts,tsx,yml,json,md}\"",
  46. "lint:prettier:fix": "prettier --config ./.prettierrc.yml --write \"**/*.{js,jsx,ts,tsx,yml,json,md}\"",
  47. "test": "jest --config ./jest.config.basic.js",
  48. "version": "node ./tools/updateVersion.js ./src/main/version.ts && git add -A ./src/main/version.ts"
  49. },
  50. "devDependencies": {
  51. "@types/jest": "^29.4.0",
  52. "@types/node": "^14.18.36",
  53. "@typescript-eslint/eslint-plugin": "^5.53.0",
  54. "@typescript-eslint/parser": "^5.53.0",
  55. "eslint": "^8.34.0",
  56. "eslint-config-prettier": "^8.6.0",
  57. "eslint-config-standard": "^17.0.0",
  58. "eslint-config-standard-with-typescript": "^34.0.0",
  59. "eslint-plugin-import": "^2.27.5",
  60. "eslint-plugin-n": "^15.6.1",
  61. "eslint-plugin-promise": "^6.1.1",
  62. "jest": "^29.4.3",
  63. "prettier": "^2.8.4",
  64. "ts-jest": "^29.0.5",
  65. "typescript": "~4.9.5"
  66. }
  67. }