by adding a svelte property (not sure if this is really the way to go!) we can make the runtime build version in svelte kit make work too. Without this, things end badly when running the build version: ``` 0|itis-tng | TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".svelte" for /home/oetiker/checkouts/itis-tng-svelte-tailwind/node_modules/svelte-carousel/src/components/Carousel/Carousel.svelte 0|itis-tng | at new NodeError (node:internal/errors:387:5) 0|itis-tng | at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:76:11) 0|itis-tng | at defaultGetFormat (node:internal/modules/esm/get_format:118:38) 0|itis-tng | at defaultLoad (node:internal/modules/esm/load:81:20) 0|itis-tng | at nextLoad (node:internal/modules/esm/loader:165:28) 0|itis-tng | at ESMLoader.load (node:internal/modules/esm/loader:608:26) 0|itis-tng | at ESMLoader.moduleProvider (node:internal/modules/esm/loader:464:22) 0|itis-tng | at new ModuleJob (node:internal/modules/esm/module_job:63:26) 0|itis-tng | at ESMLoader.#createModuleJob (node:internal/modules/esm/loader:483:17) 0|itis-tng | at ESMLoader.getModuleJob (node:internal/modules/esm/loader:441:34) ```
63 lines
1.7 KiB
JSON
63 lines
1.7 KiB
JSON
{
|
|
"name": "svelte-carousel",
|
|
"version": "1.0.21",
|
|
"description": "Svelte carousel",
|
|
"main": "src/main.js",
|
|
"module": "src/main.js",
|
|
"svelte": "src/main.js",
|
|
"author": "vadimkorr",
|
|
"type": "module",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/vadimkorr/svelte-carousel.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/vadimkorr/svelte-carousel/issues"
|
|
},
|
|
"homepage": "https://github.com/vadimkorr/svelte-carousel#readme",
|
|
"keywords": [
|
|
"svelte",
|
|
"carousel",
|
|
"slider",
|
|
"svelte carousel",
|
|
"image carousel"
|
|
],
|
|
"license": "Apache-2.0",
|
|
"scripts": {
|
|
"start": "sirv docs",
|
|
"storybook": "start-storybook -p 6006",
|
|
"build:docs": "rollup -c",
|
|
"dev:docs": "rollup -c -w",
|
|
"test": "jest"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.12.10",
|
|
"@babel/plugin-transform-runtime": "^7.14.5",
|
|
"@babel/preset-env": "^7.12.11",
|
|
"@rollup/plugin-commonjs": "^17.0.0",
|
|
"@rollup/plugin-image": "^2.1.0",
|
|
"@rollup/plugin-json": "^4.1.0",
|
|
"@rollup/plugin-node-resolve": "^11.0.0",
|
|
"@storybook/addon-actions": "^6.1.14",
|
|
"@storybook/addon-essentials": "^6.1.14",
|
|
"@storybook/addon-links": "^6.1.14",
|
|
"@storybook/svelte": "^6.1.14",
|
|
"babel-loader": "^8.2.2",
|
|
"jest": "^26.6.3",
|
|
"lodash": "^4.17.20",
|
|
"mdsvex": "^0.8.9",
|
|
"rollup": "^2.3.4",
|
|
"rollup-plugin-babel": "^4.4.0",
|
|
"rollup-plugin-import-css": "^2.0.1",
|
|
"rollup-plugin-livereload": "^2.0.0",
|
|
"rollup-plugin-svelte": "^7.0.0",
|
|
"rollup-plugin-terser": "^7.0.0",
|
|
"sirv-cli": "^1.0.11",
|
|
"svelte": "^3.31.2",
|
|
"svelte-loader": "^2.13.6"
|
|
},
|
|
"dependencies": {
|
|
"simply-reactive": "vadimkorr/simply-reactive#1.0.2"
|
|
}
|
|
}
|