UNPKG

snyk-policy

Version:

Snyk's policy parser and matching logic

68 lines (67 loc) 1.86 kB
{ "name": "snyk-policy", "version": "5.0.0", "description": "Snyk's policy parser and matching logic", "type": "module", "files": [ "dist" ], "module": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "import": "./dist/index.js", "require": "./dist/index.cjs" } }, "scripts": { "build": "vite build", "dev": "tsc -w", "env": "node -e 'console.log(process.env, process.versions)'", "lint": "run-p --max-parallel=${JOBS:-6} --aggregate-output lint:*", "lint:eslint": "eslint -c .eslintrc lib", "lint:commits": "commitlint --from=HEAD~20", "lint:types": "tsc --noEmit", "format": "prettier --write '{lib,test}/**/*.?s'", "prepack": "npm run build", "check-tests": "! grep 'test.only' test/**/*.test.ts -n", "test": "npm run check-tests && vitest run --coverage" }, "keywords": [ "snyk" ], "author": "Remy Sharp", "license": "Apache-2.0", "devDependencies": { "@commitlint/cli": "^18.4.1", "@types/debug": "^4.1.8", "@types/js-yaml": "^4.0.5", "@types/lodash.clonedeep": "^4.5.7", "@typescript-eslint/eslint-plugin": "^5.59.1", "@typescript-eslint/parser": "^5.59.1", "@vitest/coverage-v8": "^1.6.0", "eslint": "^8.39.0", "eslint-config-prettier": "^9.0.0", "npm-run-all": "^4.1.5", "prettier": "^3.0.1", "ts-node": "^10.9.1", "typescript": "~5.3.3", "vite": "^5.1.0", "vite-plugin-dts": "^4.5.4", "vitest": "^1.6.0" }, "dependencies": { "debug": "^4.1.1", "email-validator": "^2.0.4", "js-yaml": "^3.13.1", "lodash.clonedeep": "^4.5.0", "semver": "^7.3.4", "snyk-module": "^3.3.0", "snyk-resolve": "^1.1.0", "snyk-try-require": "^2.0.2" }, "repository": { "type": "git", "url": "https://github.com/snyk/policy.git" } }