UNPKG

4.74 kBJSONView Raw
1{
2 "name": "vizzu-story",
3 "version": "0.7.0",
4 "description": "Build and present animated data stories",
5 "main": "dist/vizzu-story.min.js",
6 "types": "dist/vizzu-story.d.ts",
7 "type": "module",
8 "files": [
9 "dist/vizzu-story.d.ts"
10 ],
11 "scripts": {
12 "lock": "npm-run-all lock:*",
13 "lock:js": "npm update",
14 "lock:py": "pdm lock --no-default -d",
15 "format": "npm-run-all format:*",
16 "format:src": "npm-run-all format-src:*",
17 "format-src:js": "npx prettier -c src tests package.json",
18 "format:docs": "npm-run-all format-docs:*",
19 "format-docs:js": "npx prettier -c docs",
20 "format-docs:py": "python ./tools/ci/std_check.py mdformat --wrap 80 --end-of-line keep --line-length 70 --check docs README.md CONTRIBUTING.md CODE_OF_CONDUCT.md",
21 "format:tools": "npm-run-all format-tools:*",
22 "format-tools:js": "npx prettier -c tools .github",
23 "format-tools:py": "black --diff --check tools",
24 "lint": "npm-run-all lint:*",
25 "lint:src": "npm-run-all lint-src:*",
26 "lint-src:js": "npx eslint --ext .js,.cjs,.mjs src tests",
27 "lint:docs": "npm-run-all lint-docs:*",
28 "lint-docs:js": "npx eslint --ext .js,.cjs,.mjs docs",
29 "lint:tools": "npm-run-all lint-tools:*",
30 "lint-tools:js": "npx eslint --ext .js,.cjs,.mjs tools",
31 "lint-tools:py": "pylint tools",
32 "type": "npm-run-all type:*",
33 "type:src": "npm-run-all type-src:*",
34 "type-src:js": "npx check-dts src/vizzu-story.d.ts",
35 "type:tools": "npm-run-all type-tools:*",
36 "type-tools:py": "mypy tools",
37 "test": "npm-run-all test:*",
38 "test:unit": "NODE_OPTIONS='--no-warnings --experimental-vm-modules' npx jest --config tests/vizzu-player/unit/jest.config.js --verbose",
39 "test:e2e": "NODE_OPTIONS='--no-warnings --experimental-vm-modules' npx jest --config tests/vizzu-player/e2e/jest.config.cjs --verbose",
40 "ci": "npm-run-all ci:*",
41 "ci:src": "npm-run-all ci-src:*",
42 "ci-src:js": "npm-run-all format-src:js lint-src:js type-src:js test",
43 "ci:docs": "npm-run-all ci-docs:*",
44 "ci-docs:js": "npm-run-all format-docs:js lint-docs:js",
45 "ci-docs:py": "npm-run-all format-docs:py",
46 "ci:tools": "npm-run-all ci-tools:*",
47 "ci-tools:js": "npm-run-all format-tools:js lint-tools:js",
48 "ci-tools:py": "npm-run-all format-tools:py lint-tools:py type-tools:py",
49 "fix": "npm-run-all fix-format fix-lint",
50 "fix-format": "npm-run-all fix-format:*",
51 "fix-format:src": "npm-run-all fix-format-src:*",
52 "fix-format-src:js": "npx prettier -w src tests package.json",
53 "fix-format:docs": "npm-run-all fix-format-docs:*",
54 "fix-format-docs:js": "npx prettier -w docs",
55 "fix-format-docs:py": "python ./tools/ci/std_check.py mdformat --wrap 80 --end-of-line keep --line-length 70 docs README.md CONTRIBUTING.md CODE_OF_CONDUCT.md",
56 "fix-format:tools": "npm-run-all fix-format-tools:*",
57 "fix-format-tools:js": "npx prettier -w tools .github",
58 "fix-format-tools:py": "black tools",
59 "fix-lint": "npm-run-all fix-lint:*",
60 "fix-lint:src": "npm-run-all fix-lint-src:*",
61 "fix-lint-src:js": "npx eslint --ext .js,.cjs,.mjs --fix src tests",
62 "fix-lint:docs": "npm-run-all fix-lint-docs:*",
63 "fix-lint-docs:js": "npx eslint --ext .js,.cjs,.mjs --fix docs",
64 "fix-lint:tools": "npm-run-all fix-lint-tools:*",
65 "fix-lint-tools:js": "npx eslint --ext .js,.cjs,.mjs --fix tools",
66 "build-docs": "mkdocs build -f ./tools/docs/mkdocs.yml",
67 "deploy-docs": "python ./tools/docs/deploy.py",
68 "build": "python ./tools/ci/version.py False && rm -rf dist build && rollup -c && mkdir build && npm pack --pack-destination build && tar -ztvf build/*.tgz"
69 },
70 "repository": {
71 "type": "git",
72 "url": "https://github.com/vizzuhq/vizzu-story-js.git"
73 },
74 "keywords": [
75 "template",
76 "interactive",
77 "presentation",
78 "data-visualization",
79 "charting",
80 "vizzu"
81 ],
82 "author": "Vizzu Inc.",
83 "license": "Apache-2.0",
84 "homepage": "https://vizzu-story.vizzuhq.com/",
85 "url": "https://github.com/vizzuhq/vizzu-story-js/issues",
86 "devDependencies": {
87 "@rollup/plugin-terser": "^0.4.3",
88 "@vizzu/eslint-config": "^0.2.0",
89 "@vizzu/prettier-config": "^0.1.0",
90 "check-dts": "^0.7.1",
91 "eslint": "^8.14.0",
92 "eslint-config-prettier": "^8.5.0",
93 "eslint-config-standard": "^17.0.0",
94 "express": "^4.18.2",
95 "husky": "^8.0.1",
96 "jest": "^28.1.3",
97 "jest-environment-jsdom": "^28.1.3",
98 "lodash.clonedeep": "^4.5.0",
99 "npm-run-all": "^4.1.5",
100 "prettier": "^3.1.1",
101 "puppeteer": "^21.1.1",
102 "rollup": "^2.70.2",
103 "rollup-plugin-copy": "^3.4.0",
104 "typedoc": "~0.25.2",
105 "typedoc-plugin-markdown": "~3.16.0",
106 "typedoc-plugin-rename-defaults": "~0.6.4",
107 "typescript": "^5.2.2"
108 },
109 "dependencies": {
110 "vizzu": "~0.9.3"
111 },
112 "prettier": "@vizzu/prettier-config",
113 "eslintConfig": {
114 "extends": [
115 "@vizzu/eslint-config/standard"
116 ]
117 }
118}