-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
103 lines (103 loc) · 3.7 KB
/
package.json
File metadata and controls
103 lines (103 loc) · 3.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"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.3",
"@sasjs/core": "4.63.0",
"@sasjs/lint": "2.4.3",
"@sasjs/utils": "3.5.6",
"adm-zip": "0.5.10",
"chalk": "4.1.2",
"dotenv": "16.0.3",
"find": "0.3.0",
"js-base64": "3.7.5",
"jsdom": "23.2.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.10.0",
"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"
}
}