tspace-mysql
Version:
Tspace MySQL is a promise-based ORM for Node.js, designed with modern TypeScript and providing type safety for schema databases.
97 lines (96 loc) • 2.92 kB
JSON
{
"name": "tspace-mysql",
"version": "1.9.0",
"description": "Tspace MySQL is a promise-based ORM for Node.js, designed with modern TypeScript and providing type safety for schema databases.",
"main": "dist/lib/index.js",
"types": "dist/lib/index.d.ts",
"files": [
"dist"
],
"type": "commonjs",
"bin": {
"tspace-mysql": "./dist/cli/index.js"
},
"repository": {
"type": "git",
"url": "https://github.com/thanathip41/tspace-mysql.git"
},
"keywords": [
"tspace",
"tspace-mysql",
"tspaceMysql",
"mysql",
"mysql2",
"orm",
"ORM",
"relations",
"deeply nested relations",
"object relation model",
"model",
"database",
"query builder",
"transaction",
"commit",
"rollback",
"cli",
"migrate",
"backup",
"blueprint",
"repository",
"type safety",
"typescript"
],
"author": "Thanathip (https://github.com/thanathip41)",
"license": "MIT",
"bugs": {
"url": "https://github.com/thanathip41/tspace-mysql"
},
"homepage": "https://github.com/thanathip41",
"scripts": {
"build": "rm -rf dist && tsc",
"prepare": "npm run build",
"test:db": "rm -rf __tests-report__ && cross-env NODE_ENV=test.$npm_config_db ts-mocha ./__tests__/**/0*.test.ts --reporter spec --no-timeouts --recursive --reporter mochawesome --reporter-options reportDir=__tests-report__,reportFilename=errors.html,reportTitle=Unit-test --exit",
"test:mysql": "npm run test:db --db=mysql",
"test:mariadb": "npm run test:db --db=mariadb",
"test:postgres": "npm run test:db --db=postgres",
"test": "npm run test:mysql && npm run test:mariadb && npm run test:postgres",
"test:benchmark": "cross-env NODE_ENV=benchmark ts-node ./__tests__/benchmark.test.ts",
"release:beta": "npm test && npm run build && npm publish --tag beta",
"release": "npm test && npm run build && npm publish",
"docs": "npx docsify-cli serve docs"
},
"peerDependencies": {
"typescript": ">=5.6.2"
},
"dependencies": {
"dotenv": "16.0.3",
"mysql2": "3.15.3",
"pluralize": "8.0.0",
"reflect-metadata": "0.2.2",
"sql-formatter": "10.7.1"
},
"devDependencies": {
"@types/autocannon": "7.12.5",
"@types/chai": "4.3.11",
"@types/chai-json-schema": "1.4.9",
"@types/debug": "4.1.12",
"@types/mocha": "10.0.6",
"@types/mysql": "2.15.19",
"@types/pluralize": "0.0.29",
"@types/yargs": "17.0.32",
"autocannon": "7.15.0",
"chai": "4.3.10",
"chai-json-schema": "1.5.1",
"cross-env": "7.0.3",
"docsify-cli": "4.4.4",
"mariadb": "3.4.5",
"mocha": "10.2.0",
"mochawesome": "7.1.3",
"mssql": "11.0.1",
"pg": "8.16.3",
"redis": "5.6.0",
"sqlite3": "5.1.7",
"ts-mocha": "10.0.0",
"typescript": "^5.9.3"
}
}