64 lines
3.1 KiB
JSON
64 lines
3.1 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",
|
|
"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": {
|
|
"@ampproject/remapping": "^1.0.1",
|
|
"@babel/cli": "^7.15.4",
|
|
"@babel/core": "^7.15.5",
|
|
"@babel/plugin-transform-spread": "^7.14.6",
|
|
"@babel/preset-env": "^7.15.6",
|
|
"@prerenderer/prerenderer": "^0.7.2",
|
|
"@prerenderer/renderer-jsdom": "^0.2.0",
|
|
"@prerenderer/renderer-puppeteer": "^0.2.0",
|
|
"@tsconfig/svelte": "^2.0.1",
|
|
"chokidar": "^3.5.2",
|
|
"copy-dir": "^1.3.0",
|
|
"esbuild": "^0.12.27",
|
|
"esbuild-svelte": "^0.5.4",
|
|
"less": "^4.1.1",
|
|
"postcss": "^8.3.6",
|
|
"prettier": "^2.4.0",
|
|
"prettier-plugin-svelte": "^2.4.0",
|
|
"sass": "^1.39.2",
|
|
"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.17.3"
|
|
},
|
|
"optionalDependencies": {
|
|
"@cypress/code-coverage": "^3.9.10",
|
|
"axios": "^0.21.4",
|
|
"babel-plugin-istanbul": "^6.0.0",
|
|
"cypress": "^8.3.1",
|
|
"cypress-terminal-report": "^3.3.2",
|
|
"mongodb": "^4.1.1"
|
|
}
|
|
}
|