File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 24
24
],
25
25
"sideEffects" : false ,
26
26
"type" : " module" ,
27
- "main" : " index.js" ,
28
- "types" : " index.d.ts" ,
27
+ "exports" : " ./index.js" ,
29
28
"files" : [
30
29
" lib/" ,
31
30
" index.d.ts" ,
Original file line number Diff line number Diff line change 5
5
6
6
import assert from 'node:assert/strict'
7
7
import test from 'node:test'
8
+ import { isLiteral } from 'nlcst-is-literal'
8
9
import { ParseEnglish } from 'parse-english'
9
10
import { visit } from 'unist-util-visit'
10
- import { isLiteral } from './index.js'
11
11
12
12
test ( 'isLiteral' , async function ( t ) {
13
13
await t . test ( 'should expose the public api' , async function ( ) {
14
- assert . deepEqual ( Object . keys ( await import ( './index.js ' ) ) . sort ( ) , [
14
+ assert . deepEqual ( Object . keys ( await import ( 'nlcst-is-literal ' ) ) . sort ( ) , [
15
15
'isLiteral'
16
16
] )
17
17
} )
You can’t perform that action at this time.
0 commit comments