Skip to content

Commit

Permalink
Publish to Github
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangechen committed Dec 31, 2022
0 parents commit c7ac33c
Show file tree
Hide file tree
Showing 234 changed files with 29,782 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules
build
coverage
.VSCodeCounter
4 changes: 4 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
occ-wasm
public/iconfont.js
build
coverage
4 changes: 4 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"tabWidth": 4,
"printWidth": 120
}
18 changes: 18 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "vscode-jest-tests.v2",
"program": "${workspaceFolder}/node_modules/.bin/jest",
"env": { "NODE_OPTIONS": "--experimental-vm-modules" },
"args": ["${fileBasenameNoExtension}", "--config", "jest.config.js"],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"windows": {
"program": "${workspaceFolder}/node_modules/jest/bin/jest"
}
}
]
}
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"typescript.tsdk": "node_modules\\typescript\\lib",
"jest.jestCommandLine": "npm run test --",
"jest.autoRun": { "watch": false, "onSave": "test-file", "onStartup": ["all-tests"] }
}
373 changes: 373 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Chili3D

Chili3D is a fast, web-based 3D CAD program that works in any modern browser. Built with TypeScript, Three.js, and Opencascade.js.

## WARNING

Chili3D is still in the very early stages of development. APIs can and will change (now is the time to make suggestions!). Important features are missing. Documentation is sparse. Please don't build any serious projects in Chili3D unless you are prepared to be broken by API changes constantly.

## How to Use

This project requires Node.js to be installed.

```bash
$ git clone https://github.com/xiangechen/chili3d.git
$ cd chili3d
$ npm i
$ npm run dev
```
13 changes: 13 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
module.exports = {
extensionsToTreatAsEsm: [".ts"],
preset: "ts-jest/presets/default-esm",
testRegex: "packages/.*/test/(.+)\\.test\\.(js|ts)$",
transform: {
"^.+\\.ts$": ["ts-jest", { useESM: true }],
},
testEnvironment: "jsdom",
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
moduleNameMapper: {
"\\.(css|less)$": "identity-obj-proxy",
},
};
Loading

0 comments on commit c7ac33c

Please sign in to comment.