Skip to content

Commit

Permalink
Merge pull request #15 from asadm/package-improvements
Browse files Browse the repository at this point in the history
Packaging improvements
  • Loading branch information
tmcw authored Jan 18, 2024
2 parents 6a58338 + 35455ec commit 88c6036
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
.DS_Store
.DS_Store
packages/codemirror-copilot/README.md
packages/codemirror-copilot/example.png
1 change: 0 additions & 1 deletion packages/codemirror-copilot/README.md

This file was deleted.

1 change: 0 additions & 1 deletion packages/codemirror-copilot/example.png

This file was deleted.

11 changes: 10 additions & 1 deletion packages/codemirror-copilot/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
{
"name": "codemirror-copilot",
"description": "This CodeMirror extension lets you use GPT to autocomplete code in CodeMirror.",
"license": "MIT",
"version": "0.0.6",
"type": "module",
"keywords": [
"codemirror",
"extension",
"autocomplete"
],
"files": [
"dist",
"example.png",
"index.d.ts"
],
"repository": {
Expand All @@ -22,8 +30,9 @@
"dev": "nodemon --watch 'src/**/*.ts' --ext 'ts' --exec \"npm run build && npm run copytowebsite\"",
"lint": "eslint --ext .ts,.tsx src",
"copytowebsite": "cp -R dist ../../website/",
"copyreadme": "cp ../../README.md . && cp ../../example.png .",
"lint:fix": "eslint --fix --ext .ts,.tsx src",
"build": "tsc && vite build && npm run copytowebsite",
"build": "tsc && vite build && npm run copyreadme && npm run copytowebsite",
"prepublish": "npm run lint && npm run build",
"test": "npm run lint"
},
Expand Down

0 comments on commit 88c6036

Please sign in to comment.