ToolJet/package.json
Mohini Dahiya 553352767d
Cypress tests if widgets are draggable to canvas (#626)
* Cypress tests to test if widgets are draggable

1. Added tests for all widgets to test if user is able to drag and drop them to canvas.
2. Re-organised Integration test folder according to the Pages.

* Updated package-lock.json file

Updated NPM to 7.20.0 and created this file again.

* Last update- package-lock.json

31 Sep-
Steps followed:
$ rm -rf node_modules/
$ npm cache clean --force
(Revert the changes in your package-lock.json file)
step 3 -> copy and paste the file from develop branch
$ npm i
still generating 21552 lines.
2021-09-02 22:33:19 +05:30

33 lines
1.3 KiB
JSON

{
"lint-staged": {
"./frontend/src/**/*.jsx": [
"eslint --fix"
]
},
"devDependencies": {
"@4tw/cypress-drag-drop": "^1.8.0",
"@babel/core": "^7.4.3",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/preset-env": "^7.4.3",
"@babel/preset-react": "^7.0.0",
"babel-loader": "^8.0.5",
"html-webpack-plugin": "^3.2.0",
"path": "^0.12.7",
"webpack": "^4.29.6",
"webpack-cli": "^3.3.0"
},
"dependencies": {
"@nestjs/cli": "^8.1.0",
"eslint": "^7.25.0",
"ts-node": "^10.1.0"
},
"scripts": {
"build": "npm --prefix frontend install && NODE_ENV=production npm --prefix frontend run build && npm --prefix server install && NODE_ENV=production npm --prefix server run build",
"start:prod": "npm --prefix server run start:prod",
"deploy": "cp -a frontend/build/. public/",
"heroku-postbuild": "npm run build && npm run deploy",
"heroku-prebuild": "npm --prefix frontend install && npm --prefix server install ",
"cy:run": "cypress run --env db.name=$TEST_PG_DB,db.user=$TEST_PG_USERNAME,db.password=$TEST_PG_PASSWORD",
"cy:open": "cypress open --env db.name=$TEST_PG_DB,db.user=$TEST_PG_USERNAME,db.password=$TEST_PG_PASSWORD"
}
}