Skip to content

Commit ecf6d6c

Browse files
committed
Fix typo and add prepack
1 parent 1af1787 commit ecf6d6c

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ yarn add @sourceacademy/autocomplete-plugin@github:source-academy/autocomplete-p
1111
Then, directly import them from your code
1212

1313
```ts
14-
import { BaseAutoCompleteWebPlugin } from '@source-academy/autocomplete-plugin';
14+
import { BaseAutoCompleteWebPlugin } from '@sourceacademy/autocomplete-plugin';
1515

1616
export class AutoCompletePlugin extends BaseAutoCompleteWebPlugin {
1717
(...)

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"description": "The autocomplete plugin for Conductor framework",
66
"scripts": {
77
"build": "rollup -c --bundleConfigAsCjs",
8+
"prepack": "yarn build",
89
"watch": "rollup -cw --bundleConfigAsCjs",
910
"lint": "eslint --concurrency=auto src",
1011
"format": "prettier --write \"**/*.{ts,tsx,json,js,mjs}\"",
@@ -27,7 +28,8 @@
2728
"exports": {
2829
".": {
2930
"import": "./dist/index.mjs",
30-
"require": "./dist/index.cjs"
31+
"require": "./dist/index.cjs",
32+
"types": "./dist/index.d.ts"
3133
}
3234
},
3335
"bugs": {

0 commit comments

Comments
 (0)