wip, render-test app, draw a red triangle, yeah
Showing
- .gitignore 3 additions, 1 deletion.gitignore
- .vscode/tasks.json 5 additions, 0 deletions.vscode/tasks.json
- package-lock.json 0 additions, 0 deletionspackage-lock.json
- package.json 5 additions, 2 deletionspackage.json
- src/apps/render-test/index.tsx 3 additions, 1 deletionsrc/apps/render-test/index.tsx
- src/apps/render-test/state.ts 67 additions, 0 deletionssrc/apps/render-test/state.ts
- src/apps/render-test/ui.tsx 10 additions, 3 deletionssrc/apps/render-test/ui.tsx
- web/render-test/index.html 12 additions, 0 deletionsweb/render-test/index.html
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
... | @@ -15,7 +15,8 @@ | ... | @@ -15,7 +15,8 @@ |
"build": "tsc", | "build": "tsc", | ||
"watch": "tsc -watch", | "watch": "tsc -watch", | ||
"test": "jest", | "test": "jest", | ||
"script": "node build/node_modules/script.js" | "script": "node build/node_modules/script.js", | ||
"app-render-test": "webpack build/node_modules/apps/render-test/index.js --mode development -o web/render-test/index.js" | |||
}, | }, | ||
"jest": { | "jest": { | ||
"moduleFileExtensions": [ | "moduleFileExtensions": [ | ||
... | @@ -64,7 +65,9 @@ | ... | @@ -64,7 +65,9 @@ |
"tslint": "^5.9.1", | "tslint": "^5.9.1", | ||
"typescript": "^2.7.2", | "typescript": "^2.7.2", | ||
"uglify-js": "^3.3.12", | "uglify-js": "^3.3.12", | ||
"util.promisify": "^1.0.0" | "util.promisify": "^1.0.0", | ||
"webpack": "^4.2.0", | |||
"webpack-cli": "^2.0.13" | |||
}, | }, | ||
"dependencies": { | "dependencies": { | ||
"argparse": "^1.0.10", | "argparse": "^1.0.10", | ||
... | ... |
src/apps/render-test/state.ts
0 → 100644
web/render-test/index.html
0 → 100644
Please register or sign in to comment