Skip to content

Commit

Permalink
feat(component): add timeline for render
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Dec 12, 2021
1 parent ba15a29 commit 61b2a26
Show file tree
Hide file tree
Showing 11 changed files with 12,407 additions and 0 deletions.
15 changes: 15 additions & 0 deletions quake_webapp/packages/timeline/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# http://editorconfig.org

root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
insert_final_newline = false
trim_trailing_whitespace = false
25 changes: 25 additions & 0 deletions quake_webapp/packages/timeline/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
package-lock.json
dist/
Empty file.
17 changes: 17 additions & 0 deletions quake_webapp/packages/timeline/config-overrides.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
module.exports = {
webpack: function(config, env) {
config.optimization.splitChunks = {
cacheGroups: {
default: false
}
};

config.output = {
...config.output,
filename: `static/quake-calendar.min.js`,
};

config.optimization.runtimeChunk = false;
return config;
}
}
54 changes: 54 additions & 0 deletions quake_webapp/packages/timeline/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"name": "@quakeworks/timeline",
"version": "0.1.0",
"private": false,
"dependencies": {
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"@types/jest": "^26.0.15",
"@types/node": "^12.0.0",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"date-fns": "^2.27.0",
"interactjs": "^1.10.11",
"polished": "^4.1.3",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-scripts": "4.0.3",
"react-vertical-timeline-component": "^3.5.2",
"styled-components": "^5.3.3",
"typescript": "^4.1.2",
"web-vitals": "^1.0.1"
},
"scripts": {
"start": "export PORT=4003 && react-app-rewired start",
"build": "react-app-rewired build",
"test": "react-app-rewired test",
"eject": "react-app-rewired eject"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@types/react-calendar-timeline": "^0.26.5",
"@types/react-vertical-timeline-component": "^3.3.1",
"@types/styled-components": "^5.1.15",
"react-app-rewired": "^2.1.8"
}
}
Loading

0 comments on commit 61b2a26

Please sign in to comment.