1 | {
|
2 | "name": "vizzu-story",
|
3 | "version": "0.6.3",
|
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 | "init-js": "npm install",
|
13 | "init-py": "pdm install",
|
14 | "init-src": "npm run init-js",
|
15 | "init-docs": "npm run init",
|
16 | "init-tools": "npm run init",
|
17 | "init": "npm-run-all init-js init-py",
|
18 | "lock-js": "npm update",
|
19 | "lock-py": "pdm lock --no-default -d",
|
20 | "lock": "npm-run-all lock-js lock-py",
|
21 | "fix-format-src-js": "npx prettier -w src tests package.json",
|
22 | "format-src-js": "npx prettier -c src tests package.json",
|
23 | "fix-format-docs-js": "npx prettier -w docs",
|
24 | "format-docs-js": "npx prettier -c docs",
|
25 | "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",
|
26 | "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",
|
27 | "fix-format-tools-js": "npx prettier -w tools .github",
|
28 | "format-tools-js": "npx prettier -c tools .github",
|
29 | "fix-format-tools-py": "black tools",
|
30 | "format-tools-py": "black --diff --check tools",
|
31 | "fix-format-src": "npm-run-all fix-format-src-js",
|
32 | "format-src": "npm-run-all format-src-js",
|
33 | "fix-format-docs": "npm-run-all fix-format-docs-js fix-format-docs-py",
|
34 | "format-docs": "npm-run-all format-docs-js format-docs-py",
|
35 | "fix-format-tools": "npm-run-all fix-format-tools-js fix-format-tools-py",
|
36 | "format-tools": "npm-run-all format-tools-js format-tools-py",
|
37 | "fix-format": "npm-run-all fix-format-src fix-format-docs fix-format-tools",
|
38 | "format": "npm-run-all format-src format-docs format-tools",
|
39 | "fix-lint-src-js": "npx eslint --ext .js,.cjs,.mjs --fix src tests",
|
40 | "lint-src-js": "npx eslint --ext .js,.cjs,.mjs src tests",
|
41 | "fix-lint-docs-js": "npx eslint --ext .js,.cjs,.mjs --fix docs",
|
42 | "lint-docs-js": "npx eslint --ext .js,.cjs,.mjs docs",
|
43 | "fix-lint-tools-js": "npx eslint --ext .js,.cjs,.mjs --fix tools",
|
44 | "lint-tools-js": "npx eslint --ext .js,.cjs,.mjs tools",
|
45 | "lint-tools-py": "pylint tools",
|
46 | "fix-lint-src": "npm-run-all fix-lint-src-js",
|
47 | "lint-src": "npm-run-all lint-src-js",
|
48 | "fix-lint-docs": "npm-run-all fix-lint-docs-js",
|
49 | "lint-docs": "npm-run-all lint-docs-js",
|
50 | "fix-lint-tools": "npm-run-all fix-lint-tools-js",
|
51 | "lint-tools": "npm-run-all lint-tools-js lint-tools-py",
|
52 | "fix-lint": "npm-run-all fix-lint-src fix-lint-docs fix-lint-tools",
|
53 | "lint": "npm-run-all lint-src lint-docs lint-tools",
|
54 | "type-src": "npx check-dts src/vizzu-story.d.ts",
|
55 | "type-tools": "mypy tools",
|
56 | "type": "npm-run-all type-src type-tools",
|
57 | "test-vizzu-node": "NODE_OPTIONS='--no-warnings --experimental-vm-modules' npx jest --config tests/vizzu/node/jest.config.cjs --verbose",
|
58 | "test-vizzu-player-jsdom": "NODE_OPTIONS='--no-warnings --experimental-vm-modules' npx jest --config tests/vizzu-player/jsdom/jest.config.js --verbose",
|
59 | "test": "npm-run-all test-vizzu-node test-vizzu-player-jsdom",
|
60 | "ci-src": "npm-run-all format-src lint-src type-src test",
|
61 | "ci-docs": "npm-run-all format-docs lint-docs",
|
62 | "ci-tools": "npm-run-all format-tools lint-tools type-tools",
|
63 | "ci": "npm-run-all ci-src ci-docs ci-tools",
|
64 | "docs-build": "mkdocs build -f ./tools/docs/mkdocs.yml",
|
65 | "docs-deploy": "python ./tools/docs/deploy.py",
|
66 | "pkg-build": "rm -rf dist build && rollup -c && mkdir build && npm pack --pack-destination build && tar -ztvf build/*.tgz",
|
67 | "pkg-init": "python ./tools/ci/version.py False && npm run pkg-build"
|
68 | },
|
69 | "repository": {
|
70 | "type": "git",
|
71 | "url": "https://github.com/vizzuhq/vizzu-story-js.git"
|
72 | },
|
73 | "keywords": [
|
74 | "template",
|
75 | "interactive",
|
76 | "presentation",
|
77 | "data-visualization",
|
78 | "charting",
|
79 | "vizzu"
|
80 | ],
|
81 | "author": "Vizzu Inc.",
|
82 | "license": "Apache-2.0",
|
83 | "homepage": "https://vizzu-story.vizzuhq.com/",
|
84 | "url": "https://github.com/vizzuhq/vizzu-story-js/issues",
|
85 | "devDependencies": {
|
86 | "@rollup/plugin-terser": "^0.4.3",
|
87 | "check-dts": "^0.7.1",
|
88 | "eslint": "^8.14.0",
|
89 | "eslint-config-prettier": "^8.5.0",
|
90 | "eslint-config-standard": "^17.0.0",
|
91 | "express": "^4.18.2",
|
92 | "husky": "^8.0.1",
|
93 | "jest": "^28.1.3",
|
94 | "jest-environment-jsdom": "^28.1.3",
|
95 | "lodash.clonedeep": "^4.5.0",
|
96 | "npm-run-all": "^4.1.5",
|
97 | "prettier": "^2.6.2",
|
98 | "puppeteer": "^21.1.1",
|
99 | "rollup": "^2.70.2",
|
100 | "rollup-plugin-copy": "^3.4.0",
|
101 | "typedoc": "~0.25.2",
|
102 | "typedoc-plugin-markdown": "~3.16.0",
|
103 | "typedoc-plugin-rename-defaults": "~0.6.4",
|
104 | "typescript": "^5.2.2"
|
105 | },
|
106 | "dependencies": {
|
107 | "vizzu": "~0.8.0"
|
108 | },
|
109 | "prettier": {
|
110 | "semi": false,
|
111 | "tabWidth": 2,
|
112 | "singleQuote": true,
|
113 | "printWidth": 100,
|
114 | "trailingComma": "none"
|
115 | },
|
116 | "eslintConfig": {
|
117 | "env": {
|
118 | "browser": true,
|
119 | "jest": true
|
120 | },
|
121 | "extends": [
|
122 | "standard",
|
123 | "prettier"
|
124 | ],
|
125 | "parserOptions": {
|
126 | "ecmaVersion": "latest"
|
127 | }
|
128 | }
|
129 | }
|