File tree 37 files changed +72
-71
lines changed
37 files changed +72
-71
lines changed Original file line number Diff line number Diff line change 1
1
build
2
2
dist
3
+ lib
3
4
cjs
4
5
esm
5
6
node_modules
Original file line number Diff line number Diff line change 11
11
"bundle" : " ncc build src/index.tsx --target web --filename mdeditor && npm run bundle:min" ,
12
12
"bundle:watch" : " ncc watch src/index.tsx --target web --filename mdeditor" ,
13
13
"bundle:min" : " ncc build src/index.tsx --target web --filename mdeditor --minify" ,
14
- "watch" : " tsbb watch" ,
15
- "build" : " tsbb build" ,
14
+ "watch" : " tsbb watch src/*.tsx --use-babel " ,
15
+ "build" : " tsbb build src/*.tsx --use-babel " ,
16
16
"test" : " tsbb test --env=jsdom" ,
17
17
"coverage" : " tsbb test --env=jsdom --coverage --bail"
18
18
},
Original file line number Diff line number Diff line change 8
8
"main" : " ./cjs/index.js" ,
9
9
"module" : " ./esm/index.js" ,
10
10
"scripts" : {
11
- "watch" : " tsbb watch" ,
12
- "build" : " tsbb build"
11
+ "watch" : " tsbb watch src/*.ts --use-babel " ,
12
+ "build" : " tsbb build src/*.ts --use-babel "
13
13
},
14
14
"repository" : {
15
15
"type" : " git" ,
Original file line number Diff line number Diff line change 8
8
"main" : " ./cjs/index.js" ,
9
9
"module" : " ./esm/index.js" ,
10
10
"scripts" : {
11
- "watch" : " tsbb watch" ,
12
- "build" : " tsbb build"
11
+ "watch" : " tsbb watch src/*.ts --use-babel " ,
12
+ "build" : " tsbb build src/*.ts --use-babel "
13
13
},
14
14
"repository" : {
15
15
"type" : " git" ,
Original file line number Diff line number Diff line change 8
8
"main" : " ./cjs/index.js" ,
9
9
"module" : " ./esm/index.js" ,
10
10
"scripts" : {
11
- "watch" : " tsbb watch" ,
12
- "build" : " tsbb build"
11
+ "watch" : " tsbb watch src/*.ts --use-babel " ,
12
+ "build" : " tsbb build src/*.ts --use-babel "
13
13
},
14
14
"repository" : {
15
15
"type" : " git" ,
Original file line number Diff line number Diff line change 8
8
"main" : " ./cjs/index.js" ,
9
9
"module" : " ./esm/index.js" ,
10
10
"scripts" : {
11
- "watch" : " tsbb watch" ,
12
- "build" : " tsbb build"
11
+ "watch" : " tsbb watch src/*.ts --use-babel " ,
12
+ "build" : " tsbb build src/*.ts --use-babel "
13
13
},
14
14
"repository" : {
15
15
"type" : " git" ,
Original file line number Diff line number Diff line change 8
8
"main" : " ./cjs/index.js" ,
9
9
"module" : " ./esm/index.js" ,
10
10
"scripts" : {
11
- "watch" : " tsbb watch" ,
12
- "build" : " tsbb build"
11
+ "watch" : " tsbb watch src/*.ts --use-babel " ,
12
+ "build" : " tsbb build src/*.ts --use-babel "
13
13
},
14
14
"repository" : {
15
15
"type" : " git" ,
Original file line number Diff line number Diff line change 8
8
"main" : " ./cjs/index.js" ,
9
9
"module" : " ./esm/index.js" ,
10
10
"scripts" : {
11
- "watch" : " tsbb watch" ,
12
- "build" : " tsbb build"
11
+ "watch" : " tsbb watch src/*.ts --use-babel " ,
12
+ "build" : " tsbb build src/*.ts --use-babel "
13
13
},
14
14
"repository" : {
15
15
"type" : " git" ,
Original file line number Diff line number Diff line change 8
8
"main" : " ./cjs/index.js" ,
9
9
"module" : " ./esm/index.js" ,
10
10
"scripts" : {
11
- "watch" : " tsbb watch" ,
12
- "build" : " tsbb build"
11
+ "watch" : " tsbb watch src/*.ts --use-babel " ,
12
+ "build" : " tsbb build src/*.ts --use-babel "
13
13
},
14
14
"repository" : {
15
15
"type" : " git" ,
Original file line number Diff line number Diff line change 8
8
"main" : " ./cjs/index.js" ,
9
9
"module" : " ./esm/index.js" ,
10
10
"scripts" : {
11
- "watch" : " tsbb watch" ,
12
- "build" : " tsbb build"
11
+ "watch" : " tsbb watch src/*.ts --use-babel " ,
12
+ "build" : " tsbb build src/*.ts --use-babel "
13
13
},
14
14
"repository" : {
15
15
"type" : " git" ,
Original file line number Diff line number Diff line change 8
8
"main" : " ./cjs/index.js" ,
9
9
"module" : " ./esm/index.js" ,
10
10
"scripts" : {
11
- "watch" : " tsbb watch" ,
12
- "build" : " tsbb build"
11
+ "watch" : " tsbb watch src/*.ts --use-babel " ,
12
+ "build" : " tsbb build src/*.ts --use-babel "
13
13
},
14
14
"repository" : {
15
15
"type" : " git" ,
Original file line number Diff line number Diff line change 33
33
"lint-staged" : " ~13.2.0" ,
34
34
"prettier" : " ~2.8.0" ,
35
35
"react-test-renderer" : " ~18.2.0" ,
36
- "tsbb" : " ~3.7.0 "
36
+ "tsbb" : " ^4.1.1 "
37
37
}
38
38
}
Original file line number Diff line number Diff line change 8
8
"main" : " ./cjs/index.js" ,
9
9
"module" : " ./esm/index.js" ,
10
10
"scripts" : {
11
- "watch" : " tsbb watch" ,
12
- "build" : " tsbb build"
11
+ "watch" : " tsbb watch src/*.ts --use-babel " ,
12
+ "build" : " tsbb build src/*.ts --use-babel "
13
13
},
14
14
"repository" : {
15
15
"type" : " git" ,
Original file line number Diff line number Diff line change 8
8
"main" : " ./cjs/index.js" ,
9
9
"module" : " ./esm/index.js" ,
10
10
"scripts" : {
11
- "watch" : " tsbb watch" ,
12
- "build" : " tsbb build"
11
+ "watch" : " tsbb watch src/*.ts --use-babel " ,
12
+ "build" : " tsbb build src/*.ts --use-babel "
13
13
},
14
14
"repository" : {
15
15
"type" : " git" ,
Original file line number Diff line number Diff line change 8
8
"main" : " ./cjs/index.js" ,
9
9
"module" : " ./esm/index.js" ,
10
10
"scripts" : {
11
- "watch" : " tsbb watch" ,
12
- "build" : " tsbb build"
11
+ "watch" : " tsbb watch src/*.ts --use-babel " ,
12
+ "build" : " tsbb build src/*.ts --use-babel "
13
13
},
14
14
"repository" : {
15
15
"type" : " git" ,
Original file line number Diff line number Diff line change 8
8
"main" : " ./cjs/index.js" ,
9
9
"module" : " ./esm/index.js" ,
10
10
"scripts" : {
11
- "watch" : " tsbb watch" ,
12
- "build" : " tsbb build"
11
+ "watch" : " tsbb watch src/*.ts --use-babel " ,
12
+ "build" : " tsbb build src/*.ts --use-babel "
13
13
},
14
14
"repository" : {
15
15
"type" : " git" ,
Original file line number Diff line number Diff line change 8
8
"main" : " ./cjs/index.js" ,
9
9
"module" : " ./esm/index.js" ,
10
10
"scripts" : {
11
- "watch" : " tsbb watch" ,
12
- "build" : " tsbb build"
11
+ "watch" : " tsbb watch src/*.ts --use-babel " ,
12
+ "build" : " tsbb build src/*.ts --use-babel "
13
13
},
14
14
"repository" : {
15
15
"type" : " git" ,
Original file line number Diff line number Diff line change 8
8
"main" : " ./cjs/index.js" ,
9
9
"module" : " ./esm/index.js" ,
10
10
"scripts" : {
11
- "watch" : " tsbb watch" ,
12
- "build" : " tsbb build"
11
+ "watch" : " tsbb watch src/*.ts --use-babel " ,
12
+ "build" : " tsbb build src/*.ts --use-babel "
13
13
},
14
14
"repository" : {
15
15
"type" : " git" ,
Original file line number Diff line number Diff line change 8
8
"main" : " ./cjs/index.js" ,
9
9
"module" : " ./esm/index.js" ,
10
10
"scripts" : {
11
- "watch" : " tsbb watch" ,
12
- "build" : " tsbb build"
11
+ "watch" : " tsbb watch src/*.ts --use-babel " ,
12
+ "build" : " tsbb build src/*.ts --use-babel "
13
13
},
14
14
"repository" : {
15
15
"type" : " git" ,
Original file line number Diff line number Diff line change 8
8
"main" : " ./cjs/index.js" ,
9
9
"module" : " ./esm/index.js" ,
10
10
"scripts" : {
11
- "watch" : " tsbb watch" ,
12
- "build" : " tsbb build"
11
+ "watch" : " tsbb watch src/*.ts --use-babel " ,
12
+ "build" : " tsbb build src/*.ts --use-babel "
13
13
},
14
14
"repository" : {
15
15
"type" : " git" ,
Original file line number Diff line number Diff line change 8
8
"main" : " ./cjs/index.js" ,
9
9
"module" : " ./esm/index.js" ,
10
10
"scripts" : {
11
- "watch" : " tsbb watch" ,
12
- "build" : " tsbb build"
11
+ "watch" : " tsbb watch src/*.ts --use-babel " ,
12
+ "build" : " tsbb build src/*.ts --use-babel "
13
13
},
14
14
"repository" : {
15
15
"type" : " git" ,
Original file line number Diff line number Diff line change 8
8
"main" : " ./cjs/index.js" ,
9
9
"module" : " ./esm/index.js" ,
10
10
"scripts" : {
11
- "watch" : " tsbb watch" ,
12
- "build" : " tsbb build"
11
+ "watch" : " tsbb watch src/*.ts --use-babel " ,
12
+ "build" : " tsbb build src/*.ts --use-babel "
13
13
},
14
14
"repository" : {
15
15
"type" : " git" ,
Original file line number Diff line number Diff line change 8
8
"main" : " ./cjs/index.js" ,
9
9
"module" : " ./esm/index.js" ,
10
10
"scripts" : {
11
- "watch" : " tsbb watch" ,
12
- "build" : " tsbb build"
11
+ "watch" : " tsbb watch src/*.ts --use-babel " ,
12
+ "build" : " tsbb build src/*.ts --use-babel "
13
13
},
14
14
"repository" : {
15
15
"type" : " git" ,
Original file line number Diff line number Diff line change 8
8
"main" : " ./cjs/index.js" ,
9
9
"module" : " ./esm/index.js" ,
10
10
"scripts" : {
11
- "watch" : " tsbb watch" ,
12
- "build" : " tsbb build"
11
+ "watch" : " tsbb watch src/*.ts --use-babel " ,
12
+ "build" : " tsbb build src/*.ts --use-babel "
13
13
},
14
14
"repository" : {
15
15
"type" : " git" ,
Original file line number Diff line number Diff line change 8
8
"main" : " ./cjs/index.js" ,
9
9
"module" : " ./esm/index.js" ,
10
10
"scripts" : {
11
- "watch" : " tsbb watch" ,
12
- "build" : " tsbb build"
11
+ "watch" : " tsbb watch src/*.ts --use-babel " ,
12
+ "build" : " tsbb build src/*.ts --use-babel "
13
13
},
14
14
"repository" : {
15
15
"type" : " git" ,
Original file line number Diff line number Diff line change 8
8
"main" : " ./cjs/index.js" ,
9
9
"module" : " ./esm/index.js" ,
10
10
"scripts" : {
11
- "watch" : " tsbb watch" ,
12
- "build" : " tsbb build"
11
+ "watch" : " tsbb watch src/*.ts --use-babel " ,
12
+ "build" : " tsbb build src/*.ts --use-babel "
13
13
},
14
14
"repository" : {
15
15
"type" : " git" ,
Original file line number Diff line number Diff line change 8
8
"main" : " ./cjs/index.js" ,
9
9
"module" : " ./esm/index.js" ,
10
10
"scripts" : {
11
- "watch" : " tsbb watch" ,
12
- "build" : " tsbb build"
11
+ "watch" : " tsbb watch src/*.ts --use-babel " ,
12
+ "build" : " tsbb build src/*.ts --use-babel "
13
13
},
14
14
"repository" : {
15
15
"type" : " git" ,
Original file line number Diff line number Diff line change 8
8
"main" : " ./cjs/index.js" ,
9
9
"module" : " ./esm/index.js" ,
10
10
"scripts" : {
11
- "watch" : " tsbb watch" ,
12
- "build" : " tsbb build"
11
+ "watch" : " tsbb watch src/*.ts --use-babel " ,
12
+ "build" : " tsbb build src/*.ts --use-babel "
13
13
},
14
14
"repository" : {
15
15
"type" : " git" ,
Original file line number Diff line number Diff line change 8
8
"main" : " ./cjs/index.js" ,
9
9
"module" : " ./esm/index.js" ,
10
10
"scripts" : {
11
- "watch" : " tsbb watch" ,
12
- "build" : " tsbb build"
11
+ "watch" : " tsbb watch src/*.ts --use-babel " ,
12
+ "build" : " tsbb build src/*.ts --use-babel "
13
13
},
14
14
"repository" : {
15
15
"type" : " git" ,
Original file line number Diff line number Diff line change 8
8
"main" : " ./cjs/index.js" ,
9
9
"module" : " ./esm/index.js" ,
10
10
"scripts" : {
11
- "watch" : " tsbb watch" ,
12
- "build" : " tsbb build"
11
+ "watch" : " tsbb watch src/*.ts --use-babel " ,
12
+ "build" : " tsbb build src/*.ts --use-babel "
13
13
},
14
14
"repository" : {
15
15
"type" : " git" ,
Original file line number Diff line number Diff line change 8
8
"main" : " ./cjs/index.js" ,
9
9
"module" : " ./esm/index.js" ,
10
10
"scripts" : {
11
- "watch" : " tsbb watch" ,
12
- "build" : " tsbb build"
11
+ "watch" : " tsbb watch src/*.ts --use-babel " ,
12
+ "build" : " tsbb build src/*.ts --use-babel "
13
13
},
14
14
"repository" : {
15
15
"type" : " git" ,
Original file line number Diff line number Diff line change 8
8
"main" : " ./cjs/index.js" ,
9
9
"module" : " ./esm/index.js" ,
10
10
"scripts" : {
11
- "watch" : " tsbb watch" ,
12
- "build" : " tsbb build"
11
+ "watch" : " tsbb watch src/*.tsx --use-babel " ,
12
+ "build" : " tsbb build src/*.tsx --use-babel "
13
13
},
14
14
"repository" : {
15
15
"type" : " git" ,
Original file line number Diff line number Diff line change 8
8
"main" : " ./cjs/index.js" ,
9
9
"module" : " ./esm/index.js" ,
10
10
"scripts" : {
11
- "watch" : " tsbb watch" ,
12
- "build" : " tsbb build"
11
+ "watch" : " tsbb watch src/*.ts --use-babel " ,
12
+ "build" : " tsbb build src/*.ts --use-babel "
13
13
},
14
14
"repository" : {
15
15
"type" : " git" ,
Original file line number Diff line number Diff line change 8
8
"main" : " ./cjs/index.js" ,
9
9
"module" : " ./esm/index.js" ,
10
10
"scripts" : {
11
- "watch" : " tsbb watch" ,
12
- "build" : " tsbb build"
11
+ "watch" : " tsbb watch src/*.ts --use-babel " ,
12
+ "build" : " tsbb build src/*.ts --use-babel "
13
13
},
14
14
"repository" : {
15
15
"type" : " git" ,
Original file line number Diff line number Diff line change 8
8
"main" : " ./cjs/index.js" ,
9
9
"module" : " ./esm/index.js" ,
10
10
"scripts" : {
11
- "watch" : " tsbb watch" ,
12
- "build" : " tsbb build"
11
+ "watch" : " tsbb watch src/*.ts --use-babel " ,
12
+ "build" : " tsbb build src/*.ts --use-babel "
13
13
},
14
14
"repository" : {
15
15
"type" : " git" ,
Original file line number Diff line number Diff line change 8
8
"main" : " ./cjs/index.js" ,
9
9
"module" : " ./esm/index.js" ,
10
10
"scripts" : {
11
- "watch" : " tsbb watch" ,
12
- "build" : " tsbb build"
11
+ "watch" : " tsbb watch src/*.ts --use-babel " ,
12
+ "build" : " tsbb build src/*.ts --use-babel "
13
13
},
14
14
"repository" : {
15
15
"type" : " git" ,
Original file line number Diff line number Diff line change 8
8
"main" : " ./cjs/index.js" ,
9
9
"module" : " ./esm/index.js" ,
10
10
"scripts" : {
11
- "watch" : " tsbb watch" ,
12
- "build" : " tsbb build"
11
+ "watch" : " tsbb watch src/*.ts --use-babel " ,
12
+ "build" : " tsbb build src/*.ts --use-babel "
13
13
},
14
14
"repository" : {
15
15
"type" : " git" ,
You can’t perform that action at this time.
1 commit comments
jaywcjlove commentedon Apr 3, 2023