151 lines
4.1 KiB
JSON
151 lines
4.1 KiB
JSON
{
|
|
"name": "@budibase/builder",
|
|
"version": "0.0.0",
|
|
"license": "GPL-3.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "routify -b && vite build --emptyOutDir",
|
|
"start": "routify -c rollup",
|
|
"dev:builder": "routify -c dev:vite",
|
|
"dev:vite": "vite --host 0.0.0.0",
|
|
"rollup": "rollup -c -w",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest"
|
|
},
|
|
"jest": {
|
|
"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",
|
|
"builderStore(.*)$": "<rootDir>/src/builderStore$1",
|
|
"stores(.*)$": "<rootDir>/src/stores$1",
|
|
"analytics(.*)$": "<rootDir>/src/analytics$1",
|
|
"constants/backend": "<rootDir>/src/constants/backend/index.js"
|
|
},
|
|
"moduleFileExtensions": [
|
|
"js",
|
|
"svelte"
|
|
],
|
|
"moduleDirectories": [
|
|
"node_modules"
|
|
],
|
|
"transform": {
|
|
"^.+js$": "babel-jest",
|
|
"^.+.svelte$": "svelte-jester"
|
|
},
|
|
"transformIgnorePatterns": [
|
|
"/node_modules/(?!svelte).+\\.js$",
|
|
".*string-templates.*"
|
|
],
|
|
"setupFilesAfterEnv": [
|
|
"@testing-library/jest-dom/extend-expect"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@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",
|
|
"@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",
|
|
"@fontsource/source-sans-pro": "^5.0.3",
|
|
"@fortawesome/fontawesome-svg-core": "^6.2.1",
|
|
"@fortawesome/free-brands-svg-icons": "^6.2.1",
|
|
"@fortawesome/free-solid-svg-icons": "^6.2.1",
|
|
"@sentry/browser": "5.19.1",
|
|
"@spectrum-css/accordion": "^3.0.24",
|
|
"@spectrum-css/page": "^3.0.1",
|
|
"@spectrum-css/vars": "^3.0.1",
|
|
"codemirror": "^5.59.0",
|
|
"dayjs": "^1.11.2",
|
|
"downloadjs": "1.4.7",
|
|
"fast-json-patch": "^3.1.1",
|
|
"lodash": "4.17.21",
|
|
"posthog-js": "^1.36.0",
|
|
"remixicon": "2.5.0",
|
|
"shortid": "2.2.15",
|
|
"svelte-dnd-action": "^0.9.8",
|
|
"svelte-loading-spinners": "^0.1.1",
|
|
"svelte-portal": "1.0.0",
|
|
"uuid": "8.3.1",
|
|
"yup": "0.29.2"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.12.14",
|
|
"@babel/plugin-transform-runtime": "^7.13.10",
|
|
"@babel/preset-env": "^7.13.12",
|
|
"@babel/runtime": "^7.13.10",
|
|
"@rollup/plugin-replace": "^2.4.2",
|
|
"@roxi/routify": "2.18.5",
|
|
"@sveltejs/vite-plugin-svelte": "1.0.1",
|
|
"@testing-library/jest-dom": "5.17.0",
|
|
"@testing-library/svelte": "^3.2.2",
|
|
"babel-jest": "29.6.2",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"jest": "29.6.2",
|
|
"jsdom": "^21.1.1",
|
|
"mochawesome": "^7.1.3",
|
|
"mochawesome-merge": "^4.2.1",
|
|
"mochawesome-report-generator": "^6.2.0",
|
|
"ncp": "^2.0.0",
|
|
"rimraf": "^3.0.2",
|
|
"rollup": "^2.44.0",
|
|
"rollup-plugin-copy": "^3.4.0",
|
|
"start-server-and-test": "^1.12.1",
|
|
"svelte": "^3.48.0",
|
|
"svelte-jester": "^1.3.2",
|
|
"ts-node": "10.8.1",
|
|
"tsconfig-paths": "4.0.0",
|
|
"typescript": "4.7.3",
|
|
"vite": "^3.0.8",
|
|
"vite-plugin-static-copy": "^0.16.0",
|
|
"vitest": "^0.29.2"
|
|
},
|
|
"nx": {
|
|
"targets": {
|
|
"build": {
|
|
"dependsOn": [
|
|
{
|
|
"projects": [
|
|
"@budibase/string-templates"
|
|
],
|
|
"target": "build"
|
|
}
|
|
]
|
|
},
|
|
"dev:builder": {
|
|
"dependsOn": [
|
|
{
|
|
"projects": [
|
|
"@budibase/string-templates"
|
|
],
|
|
"target": "build"
|
|
}
|
|
]
|
|
},
|
|
"test": {
|
|
"dependsOn": [
|
|
{
|
|
"projects": [
|
|
"@budibase/string-templates"
|
|
],
|
|
"target": "build"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|