mirror of https://github.com/nocodb/nocodb
hacktoberfestlow-codespreadsheetrest-apipostgresqlno-codesqlserverhacktoberfest2021sqliteautomatic-apiairtable-alternativerestful-apiairtableadmin-uiadmin-dashboardno-code-databasemysqlmariadbswagger
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.
68 lines
3.8 KiB
68 lines
3.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": {
|
|
"@4tw/cypress-drag-drop": "^2.0.0",
|
|
"cypress": "^9.2.0",
|
|
"cypress-file-upload": "^5.0.8",
|
|
"cypress-iframe": "^1.0.1",
|
|
"fs": "0.0.1-security",
|
|
"lerna": "^3.20.1",
|
|
"husky": "^8.0.0",
|
|
"xlsx": "^0.17.4"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "npx lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"scripts/playwright/**/*.{ts,tsx,js,json}": [
|
|
"npm run lint:staged:playwright"
|
|
]
|
|
},
|
|
"scripts": {
|
|
"lint:staged:playwright": "cd scripts/playwright; npx lint-staged; cd ..",
|
|
"build:common": "cd ./packages/nocodb-sdk; npm install; npm run build",
|
|
"install:common": "cd ./packages/nocodb; npm install ../nocodb-sdk; cd ../nc-gui; npm install ../nocodb-sdk",
|
|
"start:api": "npm run build:common ; cd ./packages/nocodb; npm install ../nocodb-sdk; npm install; NC_DISABLE_CACHE=true NC_DISABLE_TELE=true npm run watch:run:cypress",
|
|
"start:xcdb-api": "npm run build:common ; cd ./packages/nocodb; npm install ../nocodb-sdk;npm install; NC_EXPORT_MAX_TIMEOUT=60000 NC_DISABLE_CACHE=true NC_DISABLE_TELE=true NC_INFLECTION=camelize DATABASE_URL=sqlite:../../../scripts/cypress/fixtures/sqlite-sakila/sakila.db npm run watch:run:cypress",
|
|
"start:api:cache": "npm run build:common ; cd ./packages/nocodb; npm install ../nocodb-sdk;npm install; NC_EXPORT_MAX_TIMEOUT=60000 NC_DISABLE_TELE=true npm run watch:run:cypress",
|
|
"start:api:cache:pg": "npm run build:common ; cd ./packages/nocodb; npm install ../nocodb-sdk; npm install; NC_DISABLE_TELE=true npm run watch:run:cypress:pg",
|
|
"start:api:cache:pg:cyquick": "npm run build:common ; cd ./packages/nocodb; npm install ../nocodb-sdk; npm install; NC_DISABLE_TELE=true npm run watch:run:cypress:pg:cyquick",
|
|
"start:xcdb-api:cache": "npm run build:common ; cd ./packages/nocodb; npm install ../nocodb-sdk; npm install; NC_EXPORT_MAX_TIMEOUT=60000 NC_DISABLE_TELE=true NC_INFLECTION=camelize DATABASE_URL=sqlite:../../../scripts/cypress/fixtures/sqlite-sakila/sakila.db npm run watch:run:cypress",
|
|
"start:web": "npm run build:common ; cd ./packages/nc-gui; npm install ../nocodb-sdk; npm install; ANT_MESSAGE_DURATION=0.5 npm run dev",
|
|
"cypress:run": "cypress run --config-file ./scripts/cypress/cypress.json",
|
|
"cypress:open": "cypress open --config-file ./scripts/cypress/cypress.json",
|
|
"cypress:clear": "cypress cache clear",
|
|
"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 && npm install -f xc-cli",
|
|
"doc": "lerna run doc",
|
|
"install:local:dep": "cd packages/nc-lib-gui;npm uninstall -S xc-lib;rm package-lock.json; npm i ../../../xc-lib-private; cd ../xc-instant;npm uninstall -S xc-lib xc-lib-gui;npm i ../../../xc-lib-private;npm i ../xc-lib-gui",
|
|
"install:npm:dep": "cd packages/nc-lib-gui;npm uninstall -S xc-lib; npm i -S xc-lib@latest; cd ../xc-instant;npm uninstall -S xc-lib xc-lib-gui;npm i -S xc-lib@latest xc-lib-gui@latest;npm i ../xc-lib-gui",
|
|
"start:pg": "docker-compose -f ./scripts/cypress/docker-compose-pg.yml up -d",
|
|
"stop:pg": "docker-compose -f ./scripts/cypress/docker-compose-pg.yml down",
|
|
"prepare": "husky install"
|
|
},
|
|
"dependencies": {
|
|
"express": "^4.18.1",
|
|
"mysql2": "^2.3.3",
|
|
"pg": "^8.7.3",
|
|
"sqlite3": "^5.0.2"
|
|
}
|
|
}
|
|
|