svelteplot 0.0.1-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/LICENSE +11 -0
  2. package/README.md +38 -0
  3. package/package.json +76 -0
package/LICENSE ADDED
@@ -0,0 +1,11 @@
1
+ Copyright 2023, Gregor Aisch
2
+
3
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
4
+
5
+ 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
6
+
7
+ 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
8
+
9
+ 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
10
+
11
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
package/README.md ADDED
@@ -0,0 +1,38 @@
1
+ # create-svelte
2
+
3
+ Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte).
4
+
5
+ ## Creating a project
6
+
7
+ If you're seeing this, you've probably already done this step. Congrats!
8
+
9
+ ```bash
10
+ # create a new project in the current directory
11
+ npm create svelte@latest
12
+
13
+ # create a new project in my-app
14
+ npm create svelte@latest my-app
15
+ ```
16
+
17
+ ## Developing
18
+
19
+ Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
20
+
21
+ ```bash
22
+ npm run dev
23
+
24
+ # or start the server and open the app in a new browser tab
25
+ npm run dev -- --open
26
+ ```
27
+
28
+ ## Building
29
+
30
+ To create a production version of your app:
31
+
32
+ ```bash
33
+ npm run build
34
+ ```
35
+
36
+ You can preview the production build with `npm run preview`.
37
+
38
+ > To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment.
package/package.json ADDED
@@ -0,0 +1,76 @@
1
+ {
2
+ "name": "svelteplot",
3
+ "version": "0.0.1-alpha.0",
4
+ "scripts": {
5
+ "dev": "vite dev",
6
+ "build": "vite build",
7
+ "preview": "vite preview",
8
+ "test": "npm run test:integration && npm run test:unit",
9
+ "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
10
+ "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
11
+ "lint": "prettier --check . && eslint .",
12
+ "format": "prettier --write .",
13
+ "test:integration": "playwright test",
14
+ "test:unit": "vitest"
15
+ },
16
+ "exports": {
17
+ ".": {
18
+ "types": "./dist/index.d.ts",
19
+ "svelte": "./dist/index.js"
20
+ }
21
+ },
22
+ "files": [
23
+ "dist",
24
+ "!dist/**/*.test.*",
25
+ "!dist/**/*.spec.*"
26
+ ],
27
+ "peerDependencies": {
28
+ "svelte": "^4.0.0"
29
+ },
30
+ "devDependencies": {
31
+ "@playwright/test": "^1.40.1",
32
+ "@sveltejs/adapter-auto": "^2.1.1",
33
+ "@sveltejs/kit": "^1.27.6",
34
+ "@types/chroma-js": "^2.4.3",
35
+ "@types/d3-interpolate": "^3.0.4",
36
+ "@types/d3-scale-chromatic": "^3.0.3",
37
+ "@types/d3-shape": "^3.1.6",
38
+ "@typescript-eslint/eslint-plugin": "^6.13.2",
39
+ "@typescript-eslint/parser": "^6.13.2",
40
+ "bulma": "^0.9.4",
41
+ "d3-dsv": "^3.0.1",
42
+ "dayjs": "^1.11.10",
43
+ "eslint": "^8.55.0",
44
+ "eslint-config-prettier": "^9.1.0",
45
+ "eslint-plugin-svelte": "^2.35.1",
46
+ "highlight.js": "^11.9.0",
47
+ "highlightjs-svelte": "^1.0.6",
48
+ "prettier": "^3.1.0",
49
+ "prettier-plugin-svelte": "^3.1.2",
50
+ "sass": "^1.69.5",
51
+ "svelte": "5.0.0-next.20",
52
+ "svelte-check": "^3.6.2",
53
+ "svelte-highlight": "^7.4.2",
54
+ "tslib": "^2.6.2",
55
+ "typescript": "^5.3.2",
56
+ "vite": "^5.0.5",
57
+ "vitest": "^1.0.1"
58
+ },
59
+ "svelte": "./dist/index.js",
60
+ "types": "./dist/index.d.ts",
61
+ "type": "module",
62
+ "dependencies": {
63
+ "@types/d3-array": "^3.2.1",
64
+ "@types/d3-scale": "^4.0.8",
65
+ "@types/underscore": "^1.11.15",
66
+ "chroma-js": "^2.4.2",
67
+ "d3-array": "^3.2.4",
68
+ "d3-interpolate": "^3.0.1",
69
+ "d3-scale": "^4.0.2",
70
+ "d3-scale-chromatic": "^3.0.0",
71
+ "d3-shape": "^3.2.0",
72
+ "d3-time-format": "^4.1.0",
73
+ "merge-deep": "^3.0.3",
74
+ "underscore": "^1.13.6"
75
+ }
76
+ }