2019-07-13 21:35:57 +12:00
|
|
|
{
|
2019-09-10 17:11:46 +12:00
|
|
|
"name": "@budibase/builder",
|
2023-05-29 20:54:10 +12:00
|
|
|
"version": "0.0.0",
|
2021-11-18 03:21:16 +13:00
|
|
|
"license": "GPL-3.0",
|
2020-02-27 11:18:14 +13:00
|
|
|
"private": true,
|
2019-07-13 21:35:57 +12:00
|
|
|
"scripts": {
|
2021-04-02 01:44:14 +13:00
|
|
|
"build": "routify -b && vite build --emptyOutDir",
|
2021-03-18 00:40:24 +13:00
|
|
|
"start": "routify -c rollup",
|
2021-04-01 04:14:56 +13:00
|
|
|
"dev:builder": "routify -c dev:vite",
|
2021-11-18 08:12:54 +13:00
|
|
|
"dev:vite": "vite --host 0.0.0.0",
|
2020-06-09 23:52:00 +12:00
|
|
|
"rollup": "rollup -c -w",
|
2023-06-26 20:52:02 +12:00
|
|
|
"test": "vitest run",
|
|
|
|
"test:watch": "vitest"
|
2019-07-13 21:35:57 +12:00
|
|
|
},
|
2020-08-25 21:20:39 +12:00
|
|
|
"jest": {
|
2020-08-04 22:17:44 +12: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 21:51:28 +13:00
|
|
|
"builderStore(.*)$": "<rootDir>/src/builderStore$1",
|
2021-03-27 03:43:55 +13:00
|
|
|
"stores(.*)$": "<rootDir>/src/stores$1",
|
2022-09-16 09:47:37 +12:00
|
|
|
"analytics(.*)$": "<rootDir>/src/analytics$1",
|
|
|
|
"constants/backend": "<rootDir>/src/constants/backend/index.js"
|
2020-08-04 22:17:44 +12:00
|
|
|
},
|
|
|
|
"moduleFileExtensions": [
|
|
|
|
"js",
|
|
|
|
"svelte"
|
|
|
|
],
|
|
|
|
"moduleDirectories": [
|
|
|
|
"node_modules"
|
|
|
|
],
|
|
|
|
"transform": {
|
|
|
|
"^.+js$": "babel-jest",
|
|
|
|
"^.+.svelte$": "svelte-jester"
|
|
|
|
},
|
|
|
|
"transformIgnorePatterns": [
|
2021-04-01 21:42:56 +13:00
|
|
|
"/node_modules/(?!svelte).+\\.js$",
|
|
|
|
".*string-templates.*"
|
2020-08-04 22:17:44 +12:00
|
|
|
],
|
|
|
|
"setupFilesAfterEnv": [
|
|
|
|
"@testing-library/jest-dom/extend-expect"
|
|
|
|
]
|
2019-07-19 23:52:08 +12:00
|
|
|
},
|
2019-07-13 21:35:57 +12:00
|
|
|
"dependencies": {
|
2023-05-29 20:54:10 +12: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 20:09:15 +12: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-15 01:54:27 +12:00
|
|
|
"@fontsource/source-sans-pro": "^5.0.3",
|
2023-10-18 01:06:18 +13: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 20:42:43 +12:00
|
|
|
"@spectrum-css/page": "^3.0.1",
|
|
|
|
"@spectrum-css/vars": "^3.0.1",
|
2020-12-31 00:46:37 +13:00
|
|
|
"codemirror": "^5.59.0",
|
2023-09-15 19:04:17 +12:00
|
|
|
"dayjs": "^1.10.8",
|
2021-02-05 22:39:42 +13:00
|
|
|
"downloadjs": "1.4.7",
|
2023-02-24 02:55:18 +13:00
|
|
|
"fast-json-patch": "^3.1.1",
|
2021-05-07 20:57:55 +12:00
|
|
|
"lodash": "4.17.21",
|
2022-11-28 11:00:34 +13:00
|
|
|
"posthog-js": "^1.36.0",
|
2021-02-05 22:39:42 +13:00
|
|
|
"remixicon": "2.5.0",
|
2023-09-27 00:19:23 +13:00
|
|
|
"sanitize-html": "^2.7.0",
|
2021-02-05 22:39:42 +13:00
|
|
|
"shortid": "2.2.15",
|
2021-06-17 23:18:48 +12:00
|
|
|
"svelte-dnd-action": "^0.9.8",
|
2020-09-07 09:04:09 +12:00
|
|
|
"svelte-loading-spinners": "^0.1.1",
|
2023-01-19 02:56:53 +13:00
|
|
|
"svelte-portal": "1.0.0",
|
2023-10-18 01:06:18 +13:00
|
|
|
"yup": "^0.32.11"
|
2019-07-13 21:35:57 +12:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-04-01 21:12:36 +13:00
|
|
|
"@babel/plugin-transform-runtime": "^7.13.10",
|
|
|
|
"@babel/preset-env": "^7.13.12",
|
2023-10-06 23:31:37 +13:00
|
|
|
"@rollup/plugin-replace": "^5.0.3",
|
|
|
|
"@roxi/routify": "2.18.12",
|
2023-10-28 02:32:57 +13:00
|
|
|
"@sveltejs/vite-plugin-svelte": "1.4.0",
|
2023-07-25 22:31:17 +12:00
|
|
|
"@testing-library/jest-dom": "5.17.0",
|
2023-04-19 01:37:29 +12:00
|
|
|
"@testing-library/svelte": "^3.2.2",
|
2023-10-18 00:25:07 +13:00
|
|
|
"babel-jest": "^29.6.2",
|
2020-08-08 03:13:57 +12:00
|
|
|
"identity-obj-proxy": "^3.0.0",
|
2023-07-28 07:26:29 +12:00
|
|
|
"jest": "29.6.2",
|
2023-04-19 01:37:29 +12:00
|
|
|
"jsdom": "^21.1.1",
|
2019-07-15 17:59:46 +12:00
|
|
|
"ncp": "^2.0.0",
|
2023-10-18 01:06:18 +13:00
|
|
|
"svelte": "^3.49.0",
|
2021-04-01 04:14:56 +13:00
|
|
|
"svelte-jester": "^1.3.2",
|
2023-10-27 22:07:58 +13:00
|
|
|
"vite": "^4.5.0",
|
2023-10-06 23:29:12 +13:00
|
|
|
"vite-plugin-static-copy": "^0.17.0",
|
2023-10-27 22:07:58 +13:00
|
|
|
"vitest": "^0.34.6"
|
2019-10-12 06:48:09 +13:00
|
|
|
},
|
2023-05-24 09:11:26 +12:00
|
|
|
"nx": {
|
|
|
|
"targets": {
|
2023-05-24 21:47:21 +12:00
|
|
|
"build": {
|
2023-10-07 01:52:32 +13:00
|
|
|
"outputs": [
|
|
|
|
"{workspaceRoot}/packages/server/builder"
|
|
|
|
],
|
2023-05-24 21:47:21 +12:00
|
|
|
"dependsOn": [
|
|
|
|
{
|
|
|
|
"projects": [
|
2023-08-09 20:40:54 +12:00
|
|
|
"@budibase/string-templates"
|
2023-05-24 21:47:21 +12:00
|
|
|
],
|
|
|
|
"target": "build"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2023-08-02 12:16:27 +12:00
|
|
|
"dev:builder": {
|
|
|
|
"dependsOn": [
|
|
|
|
{
|
|
|
|
"projects": [
|
2023-08-09 20:40:54 +12:00
|
|
|
"@budibase/string-templates"
|
2023-08-02 12:16:27 +12:00
|
|
|
],
|
2023-08-02 12:17:51 +12:00
|
|
|
"target": "build"
|
2023-08-02 12:16:27 +12:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2023-05-24 09:11:26 +12:00
|
|
|
"test": {
|
|
|
|
"dependsOn": [
|
|
|
|
{
|
|
|
|
"projects": [
|
2023-08-09 20:40:54 +12:00
|
|
|
"@budibase/string-templates"
|
2023-05-24 09:11:26 +12:00
|
|
|
],
|
|
|
|
"target": "build"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
2023-08-02 22:04:54 +12:00
|
|
|
}
|
2023-02-02 05:27:51 +13:00
|
|
|
}
|