File tree 2 files changed +25
-8
lines changed
2 files changed +25
-8
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " lit-functions" ,
3
3
"version" : " 1.0.0" ,
4
- "main" : " index.js" ,
4
+ "description" : " Functional components for lit-elements." ,
5
+ "main" : " dist/index.js" ,
6
+ "module" : " dist/index.js" ,
7
+ "types" : " dist/index.d.ts" ,
5
8
"license" : " MIT" ,
6
9
"private" : true ,
7
10
"workspaces" : [
8
11
" ts-component-tests"
9
12
],
13
+ "homepage" : " https://github.com/icsaba/lit-functions" ,
14
+ "repository" : " https://github.com/icsaba/lit-functions.git" ,
15
+ "files" : [
16
+ " dist"
17
+ ],
10
18
"scripts" : {
11
19
"start:app:ts" : " yarn workspace ts-component-tests dev" ,
12
20
"test:unit" : " vitest --environment=jsdom" ,
20
28
"jsdom" : " ^24.1.0" ,
21
29
"typescript" : " ^5.4.5" ,
22
30
"vitest" : " ^1.6.0"
23
- }
31
+ },
32
+ "keywords" : [
33
+ " webcomponents" ,
34
+ " lit-element" ,
35
+ " lit-hooks" ,
36
+ " lit-functions" ,
37
+ " lit function components"
38
+ ]
24
39
}
Original file line number Diff line number Diff line change 6
6
"module" : " ESNext" ,
7
7
"lib" : [" ES2020" , " DOM" , " DOM.Iterable" ],
8
8
"skipLibCheck" : true ,
9
+ "esModuleInterop" : true ,
10
+ "declaration" : true ,
11
+ "outDir" : " dist" ,
12
+ "rootDir" : " ./src" ,
9
13
10
14
/* Bundler mode */
11
- "moduleResolution" : " bundler" ,
12
- "allowImportingTsExtensions" : true ,
15
+ "moduleResolution" : " Node" ,
13
16
"resolveJsonModule" : true ,
14
- "isolatedModules" : true ,
15
- "noEmit" : true ,
16
17
17
18
/* Linting */
18
19
"strict" : true ,
19
20
"noUnusedLocals" : true ,
20
21
"noUnusedParameters" : true ,
21
- "noFallthroughCasesInSwitch" : true
22
+ "noFallthroughCasesInSwitch" : true ,
22
23
},
23
- "include" : [" src" ]
24
+ "include" : [" src/**/*" ],
25
+ "exclude" : [" node_modules" , " **/*.spec.ts" , " ts-component-tests" ]
24
26
}
You can’t perform that action at this time.
0 commit comments