多维表格
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

65 lines
2.8 KiB

{
"name": "nocodb-root",
"description": "NocoDB Root",
"private": true,
"author": {
"name": "NocoDB Inc",
"url": "https://nocodb.com/"
},
"homepage": "https://github.com/nocodb/nocodb",
"repository": {
"type": "git",
"url": "https://github.com/nocodb/nocodb.git"
},
"bugs": {
"url": "https://github.com/nocodb/nocodb/issues"
},
"license": "AGPL-3.0-or-later",
"devDependencies": {
"fs": "0.0.1-security",
"lerna": "^7.0.2",
"husky": "^8.0.0",
"xlsx": "^0.17.4"
},
"husky": {
"hooks": {
"pre-commit": "npx lint-staged"
}
},
"lint-staged": {
"scripts/playwright/**/*.{ts,tsx,js,json}": [
"pnpm run lint:staged:playwright"
]
},
"scripts": {
"bootstrap": "pnpm --filter=nocodb-sdk install --ignore-scripts && pnpm --filter=nocodb-sdk run build && pnpm --filter=nocodb --filter=nc-gui install",
"lint:staged:playwright": "cd ./tests/playwright; npx lint-staged; cd -",
"build:common": "cd ./packages/nocodb-sdk; pnpm install; pnpm run build",
"install:common": "cd packages/nocodb-legacy; pnpm install ../nocodb-sdk; cd ../nc-gui; pnpm install ../nocodb-sdk",
"start:web": "pnpm run build:common ; cd ./packages/nc-gui; pnpm install ../nocodb-sdk; pnpm install; ANT_MESSAGE_DURATION=0.5 pnpm run dev",
"test:travis": "git log --pretty=format:'%h' -n 1 --skip 1 | xargs lerna run test:travis --since",
"lerna:install": "git log --pretty=format:'%h' -n 1 --skip 1 | xargs lerna bootstrap --ignore nc-cli --since",
"updated:xc-migrator": "lerna run publish --scope xc-migrator && lerna run xc && lerna publish && pnpm install -f xc-cli",
"doc": "lerna run doc",
"install:local:dep": "cd packages/nc-lib-gui;pnpm uninstall -S xc-lib;rm package-lock.json; pnpm i ../../../xc-lib-private; cd ../xc-instant;pnpm uninstall -S xc-lib xc-lib-gui;pnpm i ../../../xc-lib-private;pnpm i ../xc-lib-gui",
"install:pnpm:dep": "cd packages/nc-lib-gui;pnpm uninstall -S xc-lib; pnpm i -S xc-lib@latest; cd ../xc-instant;pnpm uninstall -S xc-lib xc-lib-gui;pnpm i -S xc-lib@latest xc-lib-gui@latest;pnpm i ../xc-lib-gui",
"prepare": "husky install",
"start:mysql": "docker-compose -f ./tests/playwright/scripts/docker-compose-mysql-playwright.yml up -d",
"stop:mysql": "docker-compose -f ./tests/playwright/scripts/docker-compose-mysql-playwright.yml down",
"start:pg": "docker-compose -f ./tests/playwright/scripts/docker-compose-pg.yml up -d",
"stop:pg": "docker-compose -f ./tests/playwright/scripts/docker-compose-pg.yml down",
"install:local-sdk": "node scripts/installLocalSdk.js"
},
"dependencies": {
"express": "^4.18.1",
"mysql2": "^2.3.3",
"pg": "^8.7.3",
"sqlite3": "^5.1.6"
},
"pnpm": {
"overrides": {
"vue": "latest",
"typescript": "latest"
}
}
}