package.json 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. {
  2. "name": "snyk",
  3. "version": "1.996.0",
  4. "description": "snyk library and cli utility",
  5. "files": [
  6. "help/cli-commands",
  7. "dist",
  8. "bin",
  9. "pysrc",
  10. "config.default.json",
  11. "SECURITY.md",
  12. "LICENSE",
  13. "README.md"
  14. ],
  15. "directories": {
  16. "lib": "src",
  17. "test": "test",
  18. "doc": "help/cli-commands"
  19. },
  20. "bin": {
  21. "snyk": "bin/snyk"
  22. },
  23. "engines": {
  24. "node": ">=12"
  25. },
  26. "workspaces": [
  27. "packages/*"
  28. ],
  29. "scripts": {
  30. "clean": "npx rimraf node_modules dist binary-releases test-results *.tgz tsconfig.tsbuildinfo .eslintcache pysrc packages/*/node_modules packages/*/dist packages/*/tsconfig.tsbuildinfo packages/*/*.tgz",
  31. "format": "prettier --write '**/*.{js,ts,json,yaml,yml,md}' && npm run lint:js -- --fix",
  32. "format:changes": "./scripts/format/prettier-changes.sh",
  33. "lint": "npm-run-all --serial --continue-on-error lint:*",
  34. "lint:js": "eslint --quiet --color --cache '**/*.{js,ts}'",
  35. "lint:formatting": "prettier --check '**/*.{js,ts,json,yaml,yml,md}'",
  36. "build": "npm run build:dev",
  37. "build:dev": "npm run build --workspaces && npm run build-cli:dev",
  38. "build:prod": "npm run build --workspaces && npm run build-cli:prod",
  39. "build-cli:dev": "node --max-old-space-size=8192 node_modules/webpack/bin/webpack.js --config webpack.dev.ts",
  40. "build-cli:prod": "node --max-old-space-size=8192 node_modules/webpack/bin/webpack.js --config webpack.prod.ts",
  41. "watch": "npm run build-cli:dev -- --watch",
  42. "test": "npm run test:unit && npm run test:acceptance && npm run test:tap",
  43. "test:unit": "jest --runInBand --testPathPattern '/test(/jest)?/unit/'",
  44. "test:acceptance": "jest --runInBand --testPathPattern '/test(/jest)?/acceptance/'",
  45. "test:tap": "tap -Rspec --timeout=300 --node-arg=-r --node-arg=ts-node/register test/tap/*.test.* ",
  46. "test:smoke": "./scripts/run-smoke-tests-locally.sh"
  47. },
  48. "keywords": [
  49. "security",
  50. "vulnerabilities",
  51. "advisories",
  52. "audit",
  53. "snyk",
  54. "scan",
  55. "docker",
  56. "container",
  57. "scanning"
  58. ],
  59. "author": "snyk.io",
  60. "license": "Apache-2.0",
  61. "dependencies": {},
  62. "devDependencies": {},
  63. "repository": {
  64. "type": "git",
  65. "url": "https://github.com/snyk/snyk.git"
  66. },
  67. "pkg": {
  68. "scripts": [
  69. "dist/**/*.js",
  70. "bin/snyk"
  71. ],
  72. "assets": [
  73. "config.default.json",
  74. "dist",
  75. "help"
  76. ]
  77. },
  78. "publishConfig": {
  79. "registry": "https://registry.npmjs.org/",
  80. "access": "public"
  81. }
  82. }