mirror of
https://github.com/brianc/node-postgres.git
synced 2025-12-08 20:16:25 +00:00
I didn't do much to "modernize" the pg-native codebase other than running it through the standard eslint --fix that is applied to the rest of the code. There's some easy opportunities there to update it to es6 and so on...it still uses some pretty antiquated coding styles in places. This PR re-introduces the native tests on node v20, and updates test matrix to drop unsupported versions of node & add in node v22.
41 lines
1.1 KiB
JSON
41 lines
1.1 KiB
JSON
{
|
|
"name": "node-postgres",
|
|
"description": "node postgres monorepo",
|
|
"main": "index.js",
|
|
"private": true,
|
|
"repository": "git@github.com:brianc/node-postgres.git",
|
|
"author": "Brian M. Carlson <brian.m.carlson@gmail.com>",
|
|
"license": "MIT",
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"test": "yarn lerna exec yarn test",
|
|
"build": "tsc --build",
|
|
"build:watch": "tsc --build --watch",
|
|
"docs:build": "cd docs && yarn build",
|
|
"docs:start": "cd docs && yarn start",
|
|
"pretest": "yarn build",
|
|
"prepublish": "yarn build",
|
|
"lint": "eslint --cache 'packages/**/*.{js,ts,tsx}'"
|
|
},
|
|
"devDependencies": {
|
|
"@typescript-eslint/eslint-plugin": "^7.0.0",
|
|
"@typescript-eslint/parser": "^6.17.0",
|
|
"eslint": "^8.56.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"eslint-plugin-prettier": "^5.1.2",
|
|
"lerna": "^3.19.0",
|
|
"prettier": "3.0.3",
|
|
"typescript": "^4.0.3"
|
|
},
|
|
"prettier": {
|
|
"semi": false,
|
|
"printWidth": 120,
|
|
"arrowParens": "always",
|
|
"trailingComma": "es5",
|
|
"singleQuote": true
|
|
}
|
|
}
|