Skip to content

Commit a7800d8

Browse files
author
Léo Guillaume
committed
fix: build dist
1 parent 42f2014 commit a7800d8

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,11 @@
33
"version": "0.1.28",
44
"description": "nlp.js from axa-group in typescript 🚀. NLP library for building bots 🤖, with entity extraction, sentiment analysis, automatic language identification, and more. ",
55
"main": "dist/index.js",
6-
"module": "dist/index.mjs",
76
"types": "dist/index.d.ts",
87
"scripts": {
98
"test": "echo \"Error: no test specified\" && exit 1",
10-
"build": "tsup src/**/* --format cjs,esm --dts",
11-
"watch": "tsup src/**/* --format cjs,esm --dts --watch"
9+
"build": "tsc",
10+
"watch": "tsc --watch"
1211
},
1312
"repository": {
1413
"type": "git",

src/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
class Point {
1+
export class Point {
22
x = 0
33
y = 0
4-
54
move(x: number, y: number){
65
this.x += x
76
this.y += y

0 commit comments

Comments
 (0)