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