2019-07-13 11:35:57 +02:00
|
|
|
{
|
2019-09-10 07:11:46 +02:00
|
|
|
"name": "@budibase/builder",
|
2023-01-18 13:10:48 +01:00
|
|
|
"version": "2.2.12-alpha.22",
|
2021-11-17 15:21:16 +01:00
|
|
|
"license": "GPL-3.0",
|
2020-02-26 23:18:14 +01:00
|
|
|
"private": true,
|
2019-07-13 11:35:57 +02:00
|
|
|
"scripts": {
|
2021-04-01 14:44:14 +02:00
|
|
|
"build": "routify -b && vite build --emptyOutDir",
|
2021-03-17 12:40:24 +01:00
|
|
|
"start": "routify -c rollup",
|
2021-03-31 17:14:56 +02:00
|
|
|
"dev:builder": "routify -c dev:vite",
|
2021-11-17 20:12:54 +01:00
|
|
|
"dev:vite": "vite --host 0.0.0.0",
|
2020-06-09 13:52:00 +02:00
|
|
|
"rollup": "rollup -c -w",
|
2022-09-15 23:47:37 +02:00
|
|
|
"test": "jest",
|
2022-01-31 12:51:52 +01:00
|
|
|
"cy:setup": "ts-node ./cypress/ts/setup.ts",
|
|
|
|
"cy:setup:ci": "node ./cypress/setup.js",
|
2020-06-09 15:48:25 +02:00
|
|
|
"cy:open": "cypress open",
|
2022-02-22 16:23:54 +01:00
|
|
|
"cy:run": "cypress run",
|
2022-08-22 13:01:50 +02:00
|
|
|
"cy:run:ci": "cypress run --headed --browser chrome --spec cypress/integration/createApp.spec.js",
|
2022-05-03 16:52:46 +02:00
|
|
|
"cy:run:ci:record": "xvfb-run cypress run --headed --browser chrome --record",
|
2022-02-23 08:00:57 +01:00
|
|
|
"cy:test": "start-server-and-test cy:setup http://localhost:4100/builder cy:run",
|
|
|
|
"cy:ci": "start-server-and-test cy:setup:ci http://localhost:4100/builder cy:run:ci",
|
2022-08-22 12:15:43 +02:00
|
|
|
"cy:ci:record": "start-server-and-test cy:setup:ci http://localhost:4100/builder cy:run:ci:record; npm run cy:ci:report",
|
2022-05-20 17:47:09 +02:00
|
|
|
"cy:ci:report": "mochawesome-merge cypress/reports/*.json > cypress/reports/testReport.json && marge cypress/reports/testReport.json --reportDir cypress/reports --inline",
|
|
|
|
"cy:ci:notify": "node scripts/cypressResultsWebhook",
|
2022-02-23 08:00:57 +01:00
|
|
|
"cy:debug": "start-server-and-test cy:setup http://localhost:4100/builder cy:open",
|
|
|
|
"cy:debug:ci": "start-server-and-test cy:setup:ci http://localhost:4100/builder cy:open"
|
2019-07-13 11:35:57 +02:00
|
|
|
},
|
2020-08-25 11:20:39 +02:00
|
|
|
"jest": {
|
2020-08-04 12:17:44 +02:00
|
|
|
"globals": {
|
|
|
|
"GLOBALS": {
|
|
|
|
"client": "web"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"testURL": "http://jest-breaks-if-this-does-not-exist",
|
|
|
|
"moduleNameMapper": {
|
|
|
|
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/internals/mocks/fileMock.js",
|
|
|
|
"\\.(css|less|sass|scss)$": "identity-obj-proxy",
|
|
|
|
"components(.*)$": "<rootDir>/src/components$1",
|
2021-03-26 09:51:28 +01:00
|
|
|
"builderStore(.*)$": "<rootDir>/src/builderStore$1",
|
2021-03-26 15:43:55 +01:00
|
|
|
"stores(.*)$": "<rootDir>/src/stores$1",
|
2022-09-15 23:47:37 +02:00
|
|
|
"analytics(.*)$": "<rootDir>/src/analytics$1",
|
|
|
|
"constants/backend": "<rootDir>/src/constants/backend/index.js"
|
2020-08-04 12:17:44 +02:00
|
|
|
},
|
|
|
|
"moduleFileExtensions": [
|
|
|
|
"js",
|
|
|
|
"svelte"
|
|
|
|
],
|
|
|
|
"moduleDirectories": [
|
|
|
|
"node_modules"
|
|
|
|
],
|
|
|
|
"transform": {
|
|
|
|
"^.+js$": "babel-jest",
|
|
|
|
"^.+.svelte$": "svelte-jester"
|
|
|
|
},
|
|
|
|
"transformIgnorePatterns": [
|
2021-04-01 10:42:56 +02:00
|
|
|
"/node_modules/(?!svelte).+\\.js$",
|
|
|
|
".*string-templates.*"
|
2020-08-04 12:17:44 +02:00
|
|
|
],
|
|
|
|
"modulePathIgnorePatterns": [
|
|
|
|
"<rootDir>/cypress/"
|
|
|
|
],
|
|
|
|
"setupFilesAfterEnv": [
|
|
|
|
"@testing-library/jest-dom/extend-expect"
|
|
|
|
]
|
2019-07-19 13:52:08 +02:00
|
|
|
},
|
2020-06-11 18:14:28 +02:00
|
|
|
"eslintConfig": {
|
|
|
|
"extends": [
|
|
|
|
"plugin:cypress/recommended"
|
2020-09-03 13:02:15 +02:00
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"cypress/no-unnecessary-waiting": "off"
|
|
|
|
}
|
2019-07-19 13:52:08 +02:00
|
|
|
},
|
2019-07-13 11:35:57 +02:00
|
|
|
"dependencies": {
|
2023-01-18 13:10:48 +01:00
|
|
|
"@budibase/bbui": "2.2.12-alpha.22",
|
|
|
|
"@budibase/client": "2.2.12-alpha.22",
|
|
|
|
"@budibase/frontend-core": "2.2.12-alpha.22",
|
|
|
|
"@budibase/string-templates": "2.2.12-alpha.22",
|
2020-07-14 17:00:58 +02:00
|
|
|
"@sentry/browser": "5.19.1",
|
2021-04-08 10:42:43 +02:00
|
|
|
"@spectrum-css/page": "^3.0.1",
|
|
|
|
"@spectrum-css/vars": "^3.0.1",
|
2020-12-30 12:46:37 +01:00
|
|
|
"codemirror": "^5.59.0",
|
2022-05-11 20:40:13 +02:00
|
|
|
"dayjs": "^1.11.2",
|
2021-02-05 10:39:42 +01:00
|
|
|
"downloadjs": "1.4.7",
|
2021-05-07 10:57:55 +02:00
|
|
|
"lodash": "4.17.21",
|
2022-11-27 23:00:34 +01:00
|
|
|
"posthog-js": "^1.36.0",
|
2021-02-05 10:39:42 +01:00
|
|
|
"remixicon": "2.5.0",
|
|
|
|
"shortid": "2.2.15",
|
2021-06-17 13:18:48 +02:00
|
|
|
"svelte-dnd-action": "^0.9.8",
|
2020-09-06 23:04:09 +02:00
|
|
|
"svelte-loading-spinners": "^0.1.1",
|
2021-02-05 10:39:42 +01:00
|
|
|
"svelte-portal": "0.1.0",
|
|
|
|
"uuid": "8.3.1",
|
|
|
|
"yup": "0.29.2"
|
2019-07-13 11:35:57 +02:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-04-01 10:12:36 +02:00
|
|
|
"@babel/core": "^7.12.14",
|
|
|
|
"@babel/plugin-transform-runtime": "^7.13.10",
|
|
|
|
"@babel/preset-env": "^7.13.12",
|
|
|
|
"@babel/runtime": "^7.13.10",
|
2021-03-31 17:14:56 +02:00
|
|
|
"@rollup/plugin-replace": "^2.4.2",
|
2022-04-28 13:05:34 +02:00
|
|
|
"@roxi/routify": "2.18.5",
|
2022-08-19 12:49:11 +02:00
|
|
|
"@sveltejs/vite-plugin-svelte": "1.0.1",
|
2021-03-26 09:51:28 +01:00
|
|
|
"@testing-library/jest-dom": "^5.11.10",
|
2020-06-25 23:34:38 +02:00
|
|
|
"@testing-library/svelte": "^3.0.0",
|
2021-03-31 20:12:28 +02:00
|
|
|
"babel-jest": "^26.6.3",
|
2022-01-21 15:41:53 +01:00
|
|
|
"cypress": "^9.3.1",
|
2022-05-17 00:08:05 +02:00
|
|
|
"cypress-multi-reporters": "^1.6.0",
|
2020-08-05 16:18:28 +02:00
|
|
|
"cypress-terminal-report": "^1.4.1",
|
2020-08-07 17:13:57 +02:00
|
|
|
"identity-obj-proxy": "^3.0.0",
|
2021-03-26 09:51:28 +01:00
|
|
|
"jest": "^26.6.3",
|
2022-05-17 00:08:05 +02:00
|
|
|
"mochawesome": "^7.1.3",
|
|
|
|
"mochawesome-merge": "^4.2.1",
|
|
|
|
"mochawesome-report-generator": "^6.2.0",
|
2019-07-15 07:59:46 +02:00
|
|
|
"ncp": "^2.0.0",
|
2020-06-11 17:59:11 +02:00
|
|
|
"rimraf": "^3.0.2",
|
2021-03-31 17:14:56 +02:00
|
|
|
"rollup": "^2.44.0",
|
2021-04-01 14:44:14 +02:00
|
|
|
"rollup-plugin-copy": "^3.4.0",
|
2021-03-31 17:14:56 +02:00
|
|
|
"start-server-and-test": "^1.12.1",
|
2022-05-23 10:42:55 +02:00
|
|
|
"svelte": "^3.48.0",
|
2021-03-31 17:14:56 +02:00
|
|
|
"svelte-jester": "^1.3.2",
|
2022-11-14 23:55:47 +01:00
|
|
|
"ts-node": "10.8.1",
|
2022-06-10 23:57:12 +02:00
|
|
|
"tsconfig-paths": "4.0.0",
|
2022-11-14 14:29:46 +01:00
|
|
|
"typescript": "4.7.3",
|
2022-08-19 12:49:11 +02:00
|
|
|
"vite": "^3.0.8"
|
2019-10-11 19:48:09 +02:00
|
|
|
},
|
2019-10-11 19:51:03 +02:00
|
|
|
"gitHead": "115189f72a850bfb52b65ec61d932531bf327072"
|
2022-12-09 14:52:03 +01:00
|
|
|
}
|