2019-07-13 11:35:57 +02:00
|
|
|
{
|
2019-09-10 07:11:46 +02:00
|
|
|
"name": "@budibase/builder",
|
2023-05-29 10:54:10 +02:00
|
|
|
"version": "0.0.0",
|
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",
|
2023-11-07 19:15:40 +01:00
|
|
|
"dev": "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",
|
2023-06-26 10:52:02 +02:00
|
|
|
"test": "vitest run",
|
|
|
|
"test:watch": "vitest"
|
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 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
|
|
|
],
|
|
|
|
"setupFilesAfterEnv": [
|
|
|
|
"@testing-library/jest-dom/extend-expect"
|
|
|
|
]
|
2019-07-19 13:52:08 +02:00
|
|
|
},
|
2019-07-13 11:35:57 +02:00
|
|
|
"dependencies": {
|
2023-05-29 10:54:10 +02:00
|
|
|
"@budibase/bbui": "0.0.0",
|
|
|
|
"@budibase/frontend-core": "0.0.0",
|
|
|
|
"@budibase/shared-core": "0.0.0",
|
|
|
|
"@budibase/string-templates": "0.0.0",
|
|
|
|
"@budibase/types": "0.0.0",
|
2023-05-17 10:09:15 +02:00
|
|
|
"@codemirror/autocomplete": "^6.7.1",
|
|
|
|
"@codemirror/commands": "^6.2.4",
|
|
|
|
"@codemirror/lang-javascript": "^6.1.8",
|
|
|
|
"@codemirror/language": "^6.6.0",
|
|
|
|
"@codemirror/state": "^6.2.0",
|
|
|
|
"@codemirror/theme-one-dark": "^6.1.2",
|
|
|
|
"@codemirror/view": "^6.11.2",
|
2023-06-14 15:54:27 +02:00
|
|
|
"@fontsource/source-sans-pro": "^5.0.3",
|
2023-10-17 14:06:18 +02:00
|
|
|
"@fortawesome/fontawesome-svg-core": "^6.4.2",
|
|
|
|
"@fortawesome/free-brands-svg-icons": "^6.4.2",
|
|
|
|
"@fortawesome/free-solid-svg-icons": "^6.4.2",
|
2021-04-08 10:42:43 +02:00
|
|
|
"@spectrum-css/page": "^3.0.1",
|
|
|
|
"@spectrum-css/vars": "^3.0.1",
|
2024-01-09 16:05:24 +01:00
|
|
|
"@zerodevx/svelte-json-view": "^1.0.7",
|
2020-12-30 12:46:37 +01:00
|
|
|
"codemirror": "^5.59.0",
|
2023-09-15 09:04:17 +02:00
|
|
|
"dayjs": "^1.10.8",
|
2021-02-05 10:39:42 +01:00
|
|
|
"downloadjs": "1.4.7",
|
2023-02-23 14:55:18 +01:00
|
|
|
"fast-json-patch": "^3.1.1",
|
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",
|
2023-09-26 13:19:23 +02:00
|
|
|
"sanitize-html": "^2.7.0",
|
2021-02-05 10:39:42 +01:00
|
|
|
"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",
|
2023-01-18 14:56:53 +01:00
|
|
|
"svelte-portal": "1.0.0",
|
2023-10-17 14:06:18 +02:00
|
|
|
"yup": "^0.32.11"
|
2019-07-13 11:35:57 +02:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-04-01 10:12:36 +02:00
|
|
|
"@babel/plugin-transform-runtime": "^7.13.10",
|
|
|
|
"@babel/preset-env": "^7.13.12",
|
2023-10-06 12:31:37 +02:00
|
|
|
"@rollup/plugin-replace": "^5.0.3",
|
|
|
|
"@roxi/routify": "2.18.12",
|
2023-10-27 15:32:57 +02:00
|
|
|
"@sveltejs/vite-plugin-svelte": "1.4.0",
|
2023-07-25 12:31:17 +02:00
|
|
|
"@testing-library/jest-dom": "5.17.0",
|
2023-04-18 15:37:29 +02:00
|
|
|
"@testing-library/svelte": "^3.2.2",
|
2023-10-17 13:25:07 +02:00
|
|
|
"babel-jest": "^29.6.2",
|
2020-08-07 17:13:57 +02:00
|
|
|
"identity-obj-proxy": "^3.0.0",
|
2023-11-06 14:24:33 +01:00
|
|
|
"jest": "29.7.0",
|
2023-04-18 15:37:29 +02:00
|
|
|
"jsdom": "^21.1.1",
|
2019-07-15 07:59:46 +02:00
|
|
|
"ncp": "^2.0.0",
|
2023-10-17 14:06:18 +02:00
|
|
|
"svelte": "^3.49.0",
|
2021-03-31 17:14:56 +02:00
|
|
|
"svelte-jester": "^1.3.2",
|
2023-10-27 11:07:58 +02:00
|
|
|
"vite": "^4.5.0",
|
2023-10-06 12:29:12 +02:00
|
|
|
"vite-plugin-static-copy": "^0.17.0",
|
2023-04-18 15:37:29 +02:00
|
|
|
"vitest": "^0.29.2"
|
2019-10-11 19:48:09 +02:00
|
|
|
},
|
2023-05-23 23:11:26 +02:00
|
|
|
"nx": {
|
|
|
|
"targets": {
|
2023-05-24 11:47:21 +02:00
|
|
|
"build": {
|
2023-10-06 14:52:32 +02:00
|
|
|
"outputs": [
|
|
|
|
"{workspaceRoot}/packages/server/builder"
|
|
|
|
],
|
2023-05-24 11:47:21 +02:00
|
|
|
"dependsOn": [
|
|
|
|
{
|
|
|
|
"projects": [
|
2023-08-09 10:40:54 +02:00
|
|
|
"@budibase/string-templates"
|
2023-05-24 11:47:21 +02:00
|
|
|
],
|
|
|
|
"target": "build"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2023-11-07 19:15:40 +01:00
|
|
|
"dev": {
|
2023-08-02 02:16:27 +02:00
|
|
|
"dependsOn": [
|
|
|
|
{
|
|
|
|
"projects": [
|
2023-08-09 10:40:54 +02:00
|
|
|
"@budibase/string-templates"
|
2023-08-02 02:16:27 +02:00
|
|
|
],
|
2023-08-02 02:17:51 +02:00
|
|
|
"target": "build"
|
2023-08-02 02:16:27 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2023-05-23 23:11:26 +02:00
|
|
|
"test": {
|
|
|
|
"dependsOn": [
|
|
|
|
{
|
|
|
|
"projects": [
|
2023-08-09 10:40:54 +02:00
|
|
|
"@budibase/string-templates"
|
2023-05-23 23:11:26 +02:00
|
|
|
],
|
|
|
|
"target": "build"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
2023-08-02 12:04:54 +02:00
|
|
|
}
|
2023-02-01 17:27:51 +01:00
|
|
|
}
|