-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
57 lines (57 loc) · 2.43 KB
/
Copy pathpackage.json
File metadata and controls
57 lines (57 loc) · 2.43 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
{
"name": "@grndwork/api-client",
"description": "API client for GroundWork Renewables Inc",
"version": "1.0.0-beta.5",
"license": "MIT",
"main": "dist_js/index.js",
"types": "dist_js/index.d.ts",
"repository": "https://github.com/GroundWorkRenewables/grndwork-api-client",
"engines": {
"node": "20.x || 22.x || >=24"
},
"scripts": {
"update": "npm run update:node && npm run update:python",
"update:node": "updates --update --minor && (git diff-files --quiet package.json || (rimraf package-lock.json node_modules && npm install --engine-strict))",
"update:python": "pipenv update --dev",
"postupdate": "git diff-files --quiet package-lock.json Pipfile.lock || (npm test && npm run build)",
"prebuild": "rimraf dist_js src_py/*.egg-info dist_py",
"build": "npm run build:js && npm run build:py",
"build:js": "tsc -p tsconfig.json",
"build:py": "pipenv run python3 -m build --outdir dist_py",
"pretest": "eslint ./ && pipenv run flake8 && pipenv run mypy src_py/grndwork_api_client",
"test": "npm run test:jest && npm run test:pytest",
"test:jest": "jest",
"test:pytest": "pipenv run python3 -m pytest",
"test:watch": "nodemon -w ./ -e ts,py -x 'npm run pretest && npm run test:jest -- --notify --reporters=jest-simple-dot-reporter && npm run test:pytest'",
"preversion": "npm test && npm run build",
"version": "replace \"(?<=version\\s*=[^0-9]*)[0-9]+[.0-9]+[-a-z.0-9]*\" $npm_package_version setup.cfg src_*/grndwork_api_client/version.* && git add setup.cfg src_*/grndwork_api_client/version.*",
"postversion": "git push && git push --tags",
"publish": "npm run publish:py",
"publish:test": "npm run publish:py -- --repository=testpypi",
"publish:py": "pipenv run python3 -m twine upload dist_py/*"
},
"dependencies": {
"jsonwebtoken": "^9.0.3",
"undici": "^7.16.0"
},
"devDependencies": {
"@types/jest": "30.0.0",
"@types/jsonwebtoken": "9.0.10",
"@types/node": "20.19.26",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"eslint": "8.57.1",
"eslint-config-airbnb-typescript": "18.0.0",
"eslint-plugin-import": "2.32.0",
"jest": "30.2.0",
"jest-simple-dot-reporter": "1.0.5",
"node-notifier": "10.0.1",
"nodemon": "3.1.11",
"replace": "1.2.2",
"rimraf": "6.1.2",
"ts-jest": "29.4.6",
"ts-node": "10.9.2",
"typescript": "5.9.3",
"updates": "16.9.2"
}
}