svelte-splitpanes
Advanced tools
Comparing version
157
package.json
{ | ||
"name": "svelte-splitpanes", | ||
"version": "0.8.2", | ||
"description": "A full featured resizable pane layout splitter, ported from vue-splitpanes and enhanced", | ||
"author": { | ||
"name": "Olivier Refalo", | ||
"url": "https://github.com/orefalo" | ||
}, | ||
"keywords": [ | ||
"svelte", | ||
"component", | ||
"layout", | ||
"split", | ||
"splitter", | ||
"pane", | ||
"panel", | ||
"resize", | ||
"resizable" | ||
], | ||
"bugs": "https://github.com/orefalo/svelte-splitpanes/issues", | ||
"homepage": "https://orefalo.github.io/svelte-splitpanes/", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/orefalo/svelte-splitpanes" | ||
}, | ||
"license": "MIT", | ||
"type": "module", | ||
"peerDependencies": { | ||
"svelte": "^4.2.18" | ||
}, | ||
"dependencies": { | ||
"esm-env-robust": "0.0.3" | ||
}, | ||
"exports": { | ||
"./package.json": "./package.json", | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"svelte": "./dist/index.js" | ||
} | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"svelte": "./dist/index.js", | ||
"types": "./dist/index.d.ts", | ||
"eslintIgnore": [ | ||
"node_modules" | ||
] | ||
} | ||
"name": "svelte-splitpanes", | ||
"version": "0.8.3", | ||
"private": false, | ||
"description": "A full featured resizable pane layout splitter, ported from vue-splitpanes and enhanced", | ||
"keywords": [ | ||
"svelte", | ||
"layout", | ||
"split", | ||
"splitter", | ||
"pane", | ||
"panel", | ||
"resizable" | ||
], | ||
"homepage": "https://orefalo.github.io/svelte-splitpanes/", | ||
"bugs": "https://github.com/orefalo/svelte-splitpanes/issues", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/orefalo/svelte-splitpanes" | ||
}, | ||
"license": "MIT", | ||
"author": { | ||
"name": "Olivier Refalo", | ||
"url": "https://github.com/orefalo" | ||
}, | ||
"type": "module", | ||
"exports": { | ||
"./package.json": "./package.json", | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"svelte": "./dist/index.js" | ||
} | ||
}, | ||
"svelte": "./dist/index.js", | ||
"types": "./dist/index.d.ts", | ||
"files": [ | ||
"dist" | ||
], | ||
"config": { | ||
"cz-customizable": { | ||
"config": ".cz-config.cjs" | ||
} | ||
}, | ||
"dependencies": { | ||
"esm-env-robust": "0.0.3" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "^19.3.0", | ||
"@commitlint/config-conventional": "^19.2.2", | ||
"@playwright/test": "^1.44.1", | ||
"@sveltejs/adapter-static": "^3.0.2", | ||
"@sveltejs/kit": "^2.5.11", | ||
"@sveltejs/package": "^2.3.2", | ||
"@sveltejs/vite-plugin-svelte": "^3.1.1", | ||
"@types/eslint": "^8.56.10", | ||
"@types/node": "^20.14.2", | ||
"@typescript-eslint/eslint-plugin": "^7.13.0", | ||
"@typescript-eslint/parser": "^7.13.0", | ||
"badge-maker": "^3.3.1", | ||
"copyfiles": "^2.4.1", | ||
"cross-env": "^7.0.3", | ||
"cz-customizable": "^7.0.0", | ||
"eslint": "^9.5.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-gitignore": "^0.1.0", | ||
"eslint-plugin-markdown": "^5.0.0", | ||
"eslint-plugin-svelte": "^2.39.3", | ||
"globals": "^15.4.0", | ||
"highlight.js": "^11.9.0", | ||
"husky": "^9.0.11", | ||
"prettier": "^3.3.2", | ||
"prettier-plugin-svelte": "^3.2.4", | ||
"rimraf": "^5.0.7", | ||
"sass": "^1.77.5", | ||
"serve": "^14.2.3", | ||
"svelte-check": "^3.8.0", | ||
"svelte-highlight": "^7.6.1", | ||
"svelte-preprocess": "^6.0.1", | ||
"svelte-range-slider-pips": "^2.3.1", | ||
"tslib": "^2.6.3", | ||
"typescript": "^5.4.5", | ||
"typescript-eslint": "^8.0.0-alpha.30", | ||
"vite": "^5.3.1", | ||
"vitest": "^1.6.0" | ||
}, | ||
"peerDependencies": { | ||
"svelte": "^4.2.18" | ||
}, | ||
"optionalDependencies": {}, | ||
"scripts": { | ||
"build": "vite build && node ./scripts/create-minified-size-badges.js", | ||
"check": "svelte-check --tsconfig ./tsconfig.json", | ||
"check:watch": "svelte-check --tsconfig ./tsconfig.json --watch", | ||
"commit": "cross-env node ./node_modules/cz-customizable/standalone.js", | ||
"dev": "cross-env DEV=1 vite dev --port 3000", | ||
"example-build:build": "cd example-temp && svelte-kit sync && pnpm run build", | ||
"example-build:setup": "rimraf -g \"./example-temp/!(node_modules)*\" && copyfiles -u 1 \"./example/!(node_modules)*/**/*\" \"./example/!(node_modules)*\" ./example-temp && node ./scripts/example/pnpm-install-project-in-example-temp.js", | ||
"example-build:test": "node ./scripts/example/verify-example-build.js", | ||
"fetch-and-publish": "node scripts/fetch-and-publish.js", | ||
"format": "prettier --ignore-path .gitignore --write --cache !**/pnpm-lock.yaml !./CHANGELOG.md .", | ||
"lint": "pnpm run format && pnpm run lint-es", | ||
"lint-es": "eslint --cache .", | ||
"package": "pnpm run package:build && npm run package:pack", | ||
"package:build": "rimraf -g ./package/* && svelte-package -o ./package/dist && copyfiles ./README.md ./LICENSE ./package/ && node scripts/package-clean-copy.js", | ||
"package:pack": "cd package && npm pack", | ||
"preview": "vite preview --port 3000", | ||
"static-serv": "serve -l 3000 --no-clipboard docs", | ||
"test": "playwright test" | ||
} | ||
} |
@@ -209,13 +209,13 @@  | ||
After setting (or update) the environment (discussed in the previous section), you may also excecute SvelteKit in development mode by running `pnpm dev`. This will open a Vite server that automatically changes the result in the browser when the code is updated (hot reload). | ||
After setting (or update) the environment (discussed in the previous section), you may also excecute SvelteKit in development mode by running `pnpm dev`. This will open a Vite server that automatically changes the result in the browser when the code is updated. | ||
### Commiting changes | ||
- run `pnpm commit` | ||
We have very precise rules over how our git commit messages are formatted. This leads to **more readable messages** that are easy to follow when looking through the **project history**. We use the git messages to **auto-generate the change log**. | ||
The enforcement is made possible by the enablement of several tools which, when put together, enable strict goverance. | ||
Commits are accepted, as long as they comply to the _commit message format_ described below. | ||
We also require the code to be well-formatted and to pass linting(i.e. minimal ts&svelte checks, plus additional code styling rules). Don't worry, the code is automatically being formatted and verified every time you commit your changes. In addition, when you push your commits to Github(by a PR or directly to the repo), your code will be verfied again by Github Actions with even more checks. | ||
When you push your commits to Github (by a PR or directly to the repo), your code will be verfied again by Github Actions with code formatting and linting checks. be sure to properly use `pnpm format` and `pnpm lint` | ||
@@ -222,0 +222,0 @@ To ease the development and to enforce the process of formatting the code, perform checks and formatting the commit message, you're advised to commit using the following steps: |
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
24589
-68.27%37
Infinity%3
-86.96%0
-100%2
Infinity%