forked from cms/tibi-svelte-starter
66 lines
3.3 KiB
JSON
66 lines
3.3 KiB
JSON
{
|
|
"name": "wmbasic-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": "node scripts/esbuild-wrapper.js start",
|
|
"start:localapi": "API_BASE=http://localhost:8080 node scripts/esbuild-wrapper.js start",
|
|
"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=dist/_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 dist/_dist_/index.mjs -o dist/_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.15.4",
|
|
"@babel/core": "^7.15.5",
|
|
"@babel/plugin-transform-spread": "^7.14.6",
|
|
"@babel/preset-env": "^7.15.6",
|
|
"@tsconfig/svelte": "^2.0.1",
|
|
"browser-sync": "^2.27.5",
|
|
"chokidar": "^3.5.2",
|
|
"connect-history-api-fallback": "^1.6.0",
|
|
"copy-dir": "^1.3.0",
|
|
"esbuild": "^0.14.2",
|
|
"esbuild-svelte": "^0.6.0",
|
|
"http-proxy-middleware": "^2.0.1",
|
|
"less": "^4.1.1",
|
|
"morgan": "^1.10.0",
|
|
"postcss": "^8.3.6",
|
|
"prettier": "^2.4.0",
|
|
"prettier-plugin-svelte": "^2.4.0",
|
|
"svelte": "^3.42.5",
|
|
"svelte-check": "^2.2.6",
|
|
"svelte-preprocess": "^4.9.4",
|
|
"svelte-preprocess-esbuild": "^2.0.0",
|
|
"svelte-routing": "^1.6.0",
|
|
"svelte-scrollto": "^0.2.0",
|
|
"tslib": "^2.3.1",
|
|
"typescript": "^4.4.3",
|
|
"wmbasic-api-types": "https://gitbase.de/cms/wmbasic-api-types.git"
|
|
},
|
|
"dependencies": {
|
|
"@sentry/browser": "^6.12.0",
|
|
"@sentry/tracing": "^6.12.0",
|
|
"core-js": "3.19.3"
|
|
},
|
|
"optionalDependencies": {
|
|
"@cypress/code-coverage": "^3.9.10",
|
|
"axios": "^0.24.0",
|
|
"babel-plugin-istanbul": "^6.0.0",
|
|
"cypress": "^9.1.1",
|
|
"cypress-terminal-report": "^3.3.2",
|
|
"live-server": "^1.2.1",
|
|
"mongodb": "^4.1.1"
|
|
}
|
|
}
|