snyk
Version:
snyk library and cli utility
85 lines (84 loc) • 2.64 kB
JSON
{
"name": "snyk",
"version": "1.894.0",
"description": "snyk library and cli utility",
"files": [
"help/cli-commands",
"dist",
"bin",
"pysrc",
"config.default.json",
"SECURITY.md",
"LICENSE",
"README.md"
],
"directories": {
"lib": "src",
"test": "test",
"doc": "help/cli-commands"
},
"bin": {
"snyk": "bin/snyk"
},
"engines": {
"node": ">=12"
},
"workspaces": [
"packages/*"
],
"scripts": {
"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",
"prepare": "npm run check-dev-environment",
"check-dev-environment": "ts-node ./scripts/check-dev-environment.ts",
"format": "prettier --write '**/*.{js,ts,json,yaml,yml,md}' && npm run lint:js -- --fix",
"format:changes": "./scripts/format/prettier-changes.sh",
"lint": "npm-run-all --serial --continue-on-error lint:*",
"lint:js": "eslint --quiet --color --cache '**/*.{js,ts}'",
"lint:formatting": "prettier --check '**/*.{js,ts,json,yaml,yml,md}'",
"build": "npm run build:dev",
"build:dev": "npm run build --workspaces && npm run build-cli:dev",
"build:prod": "npm run build --workspaces && npm run build-cli:prod",
"build-cli:dev": "node --max-old-space-size=8192 node_modules/webpack/bin/webpack.js --config webpack.dev.ts",
"build-cli:prod": "node --max-old-space-size=8192 node_modules/webpack/bin/webpack.js --config webpack.prod.ts",
"watch": "npm run build-cli:dev -- --watch",
"test": "npm run test:unit && npm run test:acceptance && npm run test:tap",
"test:unit": "jest --runInBand --testPathPattern '/test(/jest)?/unit/'",
"test:acceptance": "jest --runInBand --testPathPattern '/test(/jest)?/acceptance/'",
"test:tap": "tap -Rspec --timeout=300 --node-arg=-r --node-arg=ts-node/register test/tap/*.test.* ",
"test:smoke": "./scripts/run-smoke-tests-locally.sh"
},
"keywords": [
"security",
"vulnerabilities",
"advisories",
"audit",
"snyk",
"scan",
"docker",
"container",
"scanning"
],
"author": "snyk.io",
"license": "Apache-2.0",
"dependencies": {},
"devDependencies": {},
"repository": {
"type": "git",
"url": "https://github.com/snyk/snyk.git"
},
"pkg": {
"scripts": [
"dist/**/*.js",
"bin/snyk"
],
"assets": [
"config.default.json",
"dist",
"help"
]
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
}
}