Skip to content

Commit

Permalink
feat: create src directoy
Browse files Browse the repository at this point in the history
  • Loading branch information
florianstancioiu committed Mar 14, 2024
1 parent 1841c06 commit a962af0
Show file tree
Hide file tree
Showing 7 changed files with 426 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
node_modules/
coverage/
debug.log
dist
yarn-error.log
.DS_Store
.eslintcache
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
{ "language": "html", "autoFix": true }
],
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": "explicit"
}
}
10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@
"demo/*.json",
"cosmoz-*.js",
"test/data/",
"examples"
"examples",
"dist/*"
],
"scripts": {
"lint": "eslint --cache --ext .js,.html .",
"lint": "tsc && eslint --cache --ext .js,.html .",
"build": "tsc -p tsconfig.build.json",
"start": "wds",
"test": "wtr --coverage",
"test:watch": "wtr --watch",
Expand All @@ -47,6 +49,10 @@
"publishConfig": {
"access": "public"
},
"exports": {
"./cosmoz-tree": "./dist/cosmoz-tree.js",
"./cosmoz-default-tree": "./dist/cosmoz-default-tree.js"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
Expand Down
3 changes: 3 additions & 0 deletions src/cosmoz-default-tree.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { Tree } from './cosmoz-tree';

export { Tree as DefaultTree };
Loading

0 comments on commit a962af0

Please sign in to comment.