@eox/chart
Advanced tools
Comparing version 2.0.0-alpha9 to 2.0.0-beta1
{ | ||
"name": "@eox/chart", | ||
"version": "2.0.0-alpha9", | ||
"version": "2.0.0-beta1", | ||
"type": "module", | ||
"dependencies": { | ||
@@ -10,17 +11,5 @@ "chart.js": "^4.2.1", | ||
"devDependencies": { | ||
"@eox/eslint-config": "^1.0.0", | ||
"@types/luxon": "^3.2.0", | ||
"@typescript-eslint/eslint-plugin": "^5.50.0", | ||
"@typescript-eslint/parser": "^5.50.0", | ||
"cypress": "^12.6.0", | ||
"cypress-vite": "^1.3.0", | ||
"eslint-plugin-cypress": "^2.12.1", | ||
"eslint-plugin-typescript": "^0.14.0", | ||
"install": "^0.13.0", | ||
"luxon": "^3.3.0", | ||
"npm": "^9.6.3", | ||
"p-retry": "^5.1.2", | ||
"pre-commit": "^1.2.2", | ||
"start-server-and-test": "^1.15.2", | ||
"typescript": "^4.9.3", | ||
"vite": "^4.0.0" | ||
@@ -34,22 +23,10 @@ }, | ||
"dist", | ||
"scripts", | ||
"src", | ||
"typings" | ||
"test" | ||
], | ||
"main": "./dist/interface.mjs", | ||
"main": "./dist/eox-chart.js", | ||
"scripts": { | ||
"start": "vite", | ||
"build": "tsc && vite build --config vite.config.interface.ts && vite build --config vite.config.map.ts", | ||
"watch": "node scripts/watch.mjs", | ||
"preview": "vite preview", | ||
"format": "prettier --write .", | ||
"lint": "eslint --ext .js,.ts .", | ||
"lint:fix": "eslint --ext .js,.ts . --fix", | ||
"cypress": "start-server-and-test start 5173 'cypress open'", | ||
"test": "start-server-and-test start 5173 'cypress run'" | ||
}, | ||
"pre-commit": [ | ||
"format", | ||
"lint:fix" | ||
] | ||
"build": "tsc && vite build", | ||
"watch": "tsc && vite build --watch" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
# Chart widget | ||
# Chart element | ||
@@ -6,10 +6,20 @@ ## Usage | ||
``` | ||
npm install | ||
npm run cypress (interactive mode) | ||
npm run test (cli mode) | ||
npm install @eox/chart | ||
``` | ||
``` | ||
import "@eox/chart" | ||
<eox-chart></eox-chart> | ||
``` | ||
// TODO: add documentation | ||
## Contribute | ||
``` | ||
npm watch | ||
(on root) npm run cypress | ||
(on root) npm run format | ||
npm version <new version> | ||
@@ -16,0 +26,0 @@ npm run build |
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
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
827218
4
17526
2
28
Yes
10