mirror of
https://github.com/sasjs/lint.git
synced 2025-12-10 09:34:34 +00:00
53 lines
1.5 KiB
JSON
53 lines
1.5 KiB
JSON
{
|
|
"name": "@sasjs/lint",
|
|
"description": "Linting and formatting for SAS code",
|
|
"scripts": {
|
|
"test": "jest --coverage",
|
|
"build": "npx rimraf build && tsc",
|
|
"preinstall": "node checkNodeVersion",
|
|
"prebuild": "node checkNodeVersion",
|
|
"prepublishOnly": "cp -r ./build/* . && rm -rf ./build && rm -rf ./src && rm tsconfig.json",
|
|
"postpublish": "git clean -fd",
|
|
"package:lib": "npm run build && cp ./package.json ./checkNodeVersion.js build && cp README.md build && cd build && npm version \"5.0.0\" && npm pack",
|
|
"lint:fix": "npx prettier --write \"{src,test}/**/*.{ts,tsx,js,jsx,html,css,sass,less,json,yml,md,graphql}\"",
|
|
"lint": "npx prettier --check \"{src,test}/**/*.{ts,tsx,js,jsx,html,css,sass,less,json,yml,md,graphql}\"",
|
|
"prepare": "git rev-parse --git-dir && git config core.hooksPath ./.git-hooks || true"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"release": {
|
|
"branches": [
|
|
"main"
|
|
]
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/sasjs/lint.git"
|
|
},
|
|
"keywords": [
|
|
"sas",
|
|
"SASjs",
|
|
"viya",
|
|
"lint",
|
|
"formatting"
|
|
],
|
|
"author": "",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/sasjs/lint/issues"
|
|
},
|
|
"homepage": "https://github.com/sasjs/lint#readme",
|
|
"devDependencies": {
|
|
"@types/jest": "29.2.5",
|
|
"@types/node": "18.11.18",
|
|
"jest": "29.3.1",
|
|
"ts-jest": "29.0.3",
|
|
"typescript": "^4.3.2"
|
|
},
|
|
"dependencies": {
|
|
"@sasjs/utils": "3.5.2",
|
|
"ignore": "5.2.4"
|
|
}
|
|
}
|