@sasjs/cli
Version:
Command line interface for SASjs
105 lines (104 loc) • 3.82 kB
JSON
{
"name": "@sasjs/cli",
"description": "Command line interface for SASjs",
"main": "index.js",
"files": [
"build/**/*"
],
"scripts": {
"nodeVersionMessage": "echo \u001b[33m make sure you are running node lts version \u001b[0m",
"checkNodeVersion": "node -e \"console.log('\u001b[36m', 'Checking your Node.js version...'); if (!process.versions || !process.versions.node) { console.log('\u001b[31m', 'Error determining Node.js version. Exiting...') } if (parseInt(process.versions.node) < 14) { console.log('\u001b[31m', '❌ You must be running at least Node.js 14 to install SASjs CLI.\\nYour current version is ' + process.versions.node + '.\\nPlease install a more recent version and try again.'); process.exit(1); } else { console.log('\u001b[32m', '✅ Node.js version check passed. Continuing...'); } console.log('\u001b[0m', '');\"",
"start:ci": "npm run build && npm run set:permissions",
"start": "nodemon --watch \"src/**/*\" --exec \"npm run build && npm run set:permissions\"",
"set:permissions": "node -e \"require('fs').chmodSync('build/index.js', '755')\"",
"build": "npx rimraf build && tsc -p . && npm run copy:files",
"copy:files": "copyfiles -u 1 ./src/config.json ./build/ && npm run copy:doxy",
"copy:doxy": "copyfiles -u 2 src/doxy/* build/doxy/",
"test": "npm run test:mocked && npm run test:server",
"test:server": "jest --silent --runInBand --config=jest.server.config.js",
"test:mocked": "jest --silent --runInBand --config=jest.config.js --coverage",
"lint:fix": "npx prettier --write \"{src,test}/**/*.{ts,tsx,js,jsx,html,css,sass,less,yml,md,graphql}\"",
"lint": "npx prettier --check \"{src,test}/**/*.{ts,tsx,js,jsx,html,css,sass,less,yml,md,graphql}\"",
"prepare": "git rev-parse --git-dir && git config core.hooksPath ./.git-hooks || true",
"doc": "npx compodoc -p tsconfig.doc.json --coverageTest 16 --coverageTestThresholdFail"
},
"testServerTypes": "sasjs",
"release": {
"branches": [
"main"
]
},
"bin": {
"sasjs": "build/index.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sasjs/cli.git"
},
"keywords": [
"SAS",
"Viya",
"SASjs"
],
"author": "4GL Apps",
"license": "ISC",
"bugs": {
"url": "https://github.com/sasjs/cli/issues"
},
"homepage": "https://cli.sasjs.io",
"publishConfig": {
"access": "public"
},
"dependencies": {
"@sasjs/adapter": "^4.16.1",
"@sasjs/core": "4.59.9",
"@sasjs/lint": "2.4.3",
"@sasjs/utils": "3.5.2",
"adm-zip": "0.5.10",
"chalk": "4.1.2",
"dotenv": "16.0.3",
"find": "0.3.0",
"js-base64": "3.7.5",
"jsdom": "22.1.0",
"jwt-decode": "3.1.2",
"lodash.groupby": "4.6.0",
"lodash.uniqby": "4.7.0",
"node-graphviz": "0.1.1",
"node-powershell": "5.0.1",
"ora": "5.4.1",
"shelljs": "0.8.5",
"ssl-root-cas": "1.3.1",
"xml": "1.0.1",
"yargs": "17.6.2"
},
"devDependencies": {
"@babel/core": "7.22.0",
"@babel/preset-env": "7.22.0",
"@babel/preset-typescript": "7.22.5",
"@types/adm-zip": "0.5.0",
"@types/debug": "4.1.7",
"@types/find": "0.2.1",
"@types/jest": "29.4.0",
"@types/jsdom": "21.1.1",
"@types/lodash.groupby": "4.6.6",
"@types/lodash.uniqby": "4.7.6",
"@types/node": "18.14.1",
"@types/shelljs": "0.8.9",
"@types/url-parse": "1.4.4",
"@types/xml": "1.0.6",
"babel-jest": "29.7.0",
"copyfiles": "2.4.1",
"jest": "29.4.3",
"jest-cli": "29.4.3",
"jest-environment-jsdom": "29.4.3",
"jest-extended": "3.2.4",
"nodemon": "3.0.1",
"prettier": "2.6.2",
"ts-jest": "29.0.5",
"ts-node": "10.4.0",
"tslib": "2.3.1",
"typescript": "4.9.5",
"util": "0.12.4"
},
"version": "4.12.16"
}