File tree 3 files changed +9
-6
lines changed
3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " smart-table-json-pointer" ,
3
- "version" : " 2.0.3 " ,
3
+ "version" : " 2.0.4 " ,
4
4
"description" : " json pointer" ,
5
5
"main" : " ./dist/bundle/index" ,
6
- "module" : " ./dist/src/index .js" ,
6
+ "module" : " ./dist/bundle/module .js" ,
7
7
"types" : " ./dist/declarations/index.d.ts" ,
8
8
"directories" : {
9
9
"test" : " test"
17
17
"build:clean" : " rm -rf ./dist && mkdir -p ./dist/bundle && cp -r ./src ./dist/src" ,
18
18
"build:compile" : " tsc" ,
19
19
"build:bundle" : " rollup -c ./rollup/build.js && rollup -c ./rollup/cdn.js" ,
20
- "build" : " npm run build:clean && npm run build:compile && npm run build:bundle"
20
+ "build" : " npm run build:clean && npm run build:compile && npm run build:bundle && rm -rf ./dist/src "
21
21
},
22
22
"repository" : {
23
23
"type" : " git" ,
Original file line number Diff line number Diff line change 1
- import node from 'rollup-plugin-node-resolve'
1
+ import node from 'rollup-plugin-node-resolve' ;
2
2
3
3
export default {
4
4
input : './dist/src/index.js' ,
@@ -8,8 +8,11 @@ export default {
8
8
} , {
9
9
file : './dist/bundle/index.mjs' ,
10
10
format : 'es'
11
+ } , {
12
+ file : './dist/bundle/module.js' ,
13
+ format : 'es'
11
14
} ] ,
12
15
plugins : [
13
16
node ( )
14
17
]
15
- }
18
+ } ;
Original file line number Diff line number Diff line change 1
1
import test from 'zora' ;
2
- import { pointer } from '../dist/src/index ' ;
2
+ import { pointer } from '../dist/bundle/module ' ;
3
3
4
4
test ( 'pointer get' , t => {
5
5
const { get : foo } = pointer ( 'foo' ) ;
You can’t perform that action at this time.
0 commit comments