[+] Anichart

This commit is contained in:
Hykilpikonna
2021-11-10 16:30:31 -05:00
parent 7918a58d43
commit cdd73b3af9
8 changed files with 6112 additions and 0 deletions
@@ -0,0 +1,4 @@
node_modules
dist
.parcel-cache
*.log
@@ -0,0 +1,6 @@
const serveStatic = require("serve-static");
module.exports = function (app) {
app.use(serveStatic("node_modules/@ffmpeg/core/dist"));
app.use(serveStatic("data"));
};
@@ -0,0 +1,15 @@
# anichart-template
Quick start anichart project.
## Start
``` bash
parcel index.html --open
```
## Build
``` build
parcel build index.html
```
@@ -0,0 +1,7 @@
id,date,value
A,2021-01-01,1
A,2021-01-02,2
A,2021-01-03,3
B,2021-01-01,2
B,2021-01-02,3
B,2021-01-03,1
1 id date value
2 A 2021-01-01 1
3 A 2021-01-02 2
4 A 2021-01-03 3
5 B 2021-01-01 2
6 B 2021-01-02 3
7 B 2021-01-03 1
@@ -0,0 +1,10 @@
<html>
<head>
<title>Anichart Typescript</title>
<meta charset="UTF-8" />
</head>
<body>
<script type="module" src="src/index.ts"></script>
</body>
</html>
@@ -0,0 +1,22 @@
{
"name": "anichart-template",
"version": "1.0.1",
"description": "Starter of anichart.js.",
"scripts": {
"start": "parcel index.html --open",
"build": "parcel build index.html"
},
"dependencies": {
"anichart": "2.3.1-alpha",
"serve-static": "^1.14.1"
},
"devDependencies": {
"parcel": "^2.0.0-rc.0",
"typescript": "^4.3.5"
},
"keywords": [
"chart",
"data",
"anichart"
]
}
@@ -0,0 +1,13 @@
{
"compilerOptions": {
"strict": true,
"module": "commonjs",
"jsx": "preserve",
"esModuleInterop": true,
"sourceMap": true,
"allowJs": false,
"lib": ["es6", "dom"],
"rootDir": "src",
"moduleResolution": "node"
}
}
File diff suppressed because it is too large Load Diff