forked from cms/tibi-svelte-starter
76 lines
4.0 KiB
JSON
76 lines
4.0 KiB
JSON
{
|
|
"name": "tibi-svelte-starter",
|
|
"version": "1.0.0",
|
|
"main": "src/index.js",
|
|
"author": "Sebastian Frank (Webmakers GmbH)",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"validate": "svelte-check && tsc --noEmit",
|
|
"start": "NAMESPACE=__NAMESPACE__ node scripts/esbuild-wrapper.js start",
|
|
"start:remoteapi": "API_BASE=https://login.tibicms.de/api/v1/_/__NAMESPACE__ node scripts/esbuild-wrapper.js start",
|
|
"docker:start": "docker compose -f docker-compose-local.yml up; docker compose -f docker-compose-local.yml down",
|
|
"docker:up": "docker compose -f docker-compose-local.yml up -d",
|
|
"docker:down": "docker compose -f docker-compose-local.yml down",
|
|
"docker:logs": "docker compose -f docker-compose-local.yml logs -f",
|
|
"docker:yarnupgrade": "docker compose -f docker-compose-local.yml run --rm yarnstart sh -c 'cd /data && yarn upgrade-interactive'",
|
|
"dev": "node scripts/esbuild-wrapper.js watch",
|
|
"build": "node scripts/esbuild-wrapper.js build",
|
|
"build:legacy": "node scripts/esbuild-wrapper.js build esbuild.config.legacy.js && babel _temp/index.js -o _temp/index.babeled.js && esbuild _temp/index.babeled.js --outfile=frontend/_dist_/index.es5.js --target=es5 --bundle --minify --sourcemap",
|
|
"build:server": "node scripts/esbuild-wrapper.js build esbuild.config.server.js && babel _temp/app.server.js -o _temp/app.server.babeled.js && esbuild _temp/app.server.babeled.js --outfile=api/hooks/lib/app.server.js --target=es5 --bundle --sourcemap --platform=node",
|
|
"build:test": "node scripts/esbuild-wrapper.js build esbuild.config.test.js && babel --config-file ./babel.config.test.json _temp/hook.test.js -o _temp/hook.test.babeled.js && esbuild _temp/hook.test.babeled.js --outfile=api/hooks/lib/hook.test.js --target=es5 --bundle --sourcemap --platform=node",
|
|
"build:instanbul": "node scripts/esbuild-wrapper.js build esbuild.config.cypress.js && babel frontend/_dist_/index.mjs -o frontend/_dist_/index.mjs --config-file ./babel.config.cypress.json",
|
|
"cy:run": "cypress run",
|
|
"cy:open": "cypress open",
|
|
"cy:docker:run": "CURRENT_UID=$(id -u):$(id -g) CY_COMMAND=run docker-compose -f docker-compose.cypress.yml up --exit-code-from=cypress",
|
|
"cy:docker:open": "CURRENT_UID=$(id -u):$(id -g) CY_COMMAND=open docker-compose -f docker-compose.cypress.yml up --exit-code-from=cypress"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.19.3",
|
|
"@babel/core": "^7.20.2",
|
|
"@babel/plugin-transform-spread": "^7.19.0",
|
|
"@babel/preset-env": "^7.20.2",
|
|
"@tsconfig/svelte": "^3.0.0",
|
|
"browser-sync": "^2.27.10",
|
|
"chokidar": "^3.5.3",
|
|
"connect-history-api-fallback": "^2.0.0",
|
|
"copy-dir": "^1.3.0",
|
|
"esbuild": "^0.15.14",
|
|
"esbuild-svelte": "^0.7.3",
|
|
"http-proxy-middleware": "^2.0.6",
|
|
"less": "^4.1.3",
|
|
"morgan": "^1.10.0",
|
|
"postcss": "^8.4.19",
|
|
"prettier": "^2.7.1",
|
|
"prettier-plugin-svelte": "^2.8.0",
|
|
"svelte": "^3.53.1",
|
|
"svelte-check": "^2.9.2",
|
|
"svelte-preprocess": "^4.10.7",
|
|
"svelte-preprocess-esbuild": "^3.0.1",
|
|
"svelte-routing": "^1.6.0",
|
|
"svelte-scrollto": "^0.2.0",
|
|
"tibi-types": "https://gitbase.de/cms/tibi-types.git#commit=cbe4d1f48ba32cab77df998e3f38725c828b8d93",
|
|
"tslib": "^2.4.1",
|
|
"typescript": "^4.9.3"
|
|
},
|
|
"dependencies": {
|
|
"@mdi/js": "^7.0.96",
|
|
"@sentry/browser": "^7.20.0",
|
|
"@sentry/tracing": "^7.20.0",
|
|
"@splidejs/svelte-splide": "^0.2.9",
|
|
"core-js": "3.26.1",
|
|
"mdi-svelte": "^1.1.2",
|
|
"svelte-i18n": "^3.4.0"
|
|
},
|
|
"optionalDependencies": {
|
|
"@cypress/code-coverage": "^3.10.0",
|
|
"axios": "^1.1.3",
|
|
"babel-plugin-istanbul": "^6.1.1",
|
|
"cypress": "^10.11.0",
|
|
"cypress-terminal-report": "^4.1.2",
|
|
"live-server": "^1.2.2",
|
|
"mongodb": "^4.12.0"
|
|
},
|
|
"packageManager": "yarn@3.2.0"
|
|
}
|