File tree 2 files changed +10
-7
lines changed
2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 11
11
"homepage" : " https://github.com/rollup/plugins/tree/master/packages/dsv#readme" ,
12
12
"bugs" : " https://github.com/rollup/plugins/issues" ,
13
13
"main" : " dist/index.js" ,
14
+ "module" : " dist/index.es.js" ,
14
15
"scripts" : {
15
16
"build" : " rollup -c" ,
16
17
"ci:coverage" : " nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov" ,
17
18
"ci:lint" : " pnpm run build && pnpm run lint" ,
18
19
"ci:lint:commits" : " commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}" ,
19
20
"ci:test" : " pnpm run test -- --verbose" ,
20
21
"lint" : " pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package" ,
21
- "lint:docs" : " prettier --single-quote --write README.md" ,
22
+ "lint:docs" : " prettier --single-quote --arrow-parens avoid -- write README.md" ,
22
23
"lint:js" : " eslint --fix --cache src test --ext .js,.ts" ,
23
24
"lint:package" : " prettier --write package.json --plugin=prettier-plugin-package" ,
24
25
"prebuild" : " del-cli dist" ,
33
34
" LICENSE"
34
35
],
35
36
"dependencies" : {
36
- "@rollup/pluginutils" : " ^3.0.4 " ,
37
+ "@rollup/pluginutils" : " ^3.1.0 " ,
37
38
"d3-dsv" : " 1.2.0" ,
38
39
"tosource" : " ^1.0.0"
39
40
},
40
41
"devDependencies" : {
41
- "del-cli" : " ^3.0.0 " ,
42
- "rollup" : " ^2.0 .0"
42
+ "del-cli" : " ^3.0.1 " ,
43
+ "rollup" : " ^2.23 .0"
43
44
},
44
45
"ava" : {
46
+ "babel" : {
47
+ "compileEnhancements" : false
48
+ },
45
49
"files" : [
46
50
" !**/fixtures/**" ,
47
51
" !**/helpers/**" ,
48
52
" !**/recipes/**" ,
49
53
" !**/types.ts"
50
54
]
51
- },
52
- "module" : " dist/index.es.js"
55
+ }
53
56
}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ export default {
4
4
input : 'src/index.js' ,
5
5
external : [ ...Object . keys ( pkg . dependencies ) , 'path' ] ,
6
6
output : [
7
- { file : pkg . main , format : 'cjs' } ,
7
+ { file : pkg . main , format : 'cjs' , exports : 'auto' } ,
8
8
{ file : pkg . module , format : 'es' }
9
9
]
10
10
} ;
You can’t perform that action at this time.
0 commit comments