Skip to content

Commit 1c56615

Browse files
committedAug 29, 2021
chore(deps): update devDependencies.
1 parent 6325247 commit 1c56615

File tree

4 files changed

+29
-85
lines changed

4 files changed

+29
-85
lines changed
 

‎.babelrc

-37
This file was deleted.

‎.gitignore

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
1-
node_modules
2-
lib
1+
cjs
2+
esm
33
build
44
npm-debug.log*
55
package-lock.json
6+
node_modules
7+
68
.DS_Store
79
.cache
810
.rdoc-dist
911
.vscode
1012

13+
*.log
1114
*.bak
1215
*.tem
1316
*.temp

‎package.json

+18-23
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,18 @@
22
"name": "@uiw/react-github-corners",
33
"version": "1.4.0",
44
"description": "Add a Github corner to your project page, This GitHub corners for react component.",
5-
"main": "lib/cjs/index.js",
6-
"module": "lib/esm/index.js",
5+
"main": "cjs/index.js",
6+
"module": "esm/index.js",
77
"scripts": {
88
"prepare": "npm run build",
99
"released": "npm run build && npm run doc",
1010
"doc": "kkt build --app-src ./website",
1111
"start": "kkt start --app-src ./website",
12-
"watch": "npm run ts:watch & npm run types:watch",
13-
"build": "npm run ts:build && npm run types:esm && npm run types:cjs && npm run css:build && npm run css:build:dist",
14-
"types:build": "tsbb types --sourceRoot src --target ESNEXT",
15-
"types:watch": "npm run types:esm -- --watch & npm run types:cjs -- --watch",
16-
"types:esm": "npm run types:build -- --outDir ../lib/esm",
17-
"types:cjs": "npm run types:build -- --outDir ../lib/cjs",
18-
"css:build": "compile-less -d src -o lib/esm",
19-
"css:watch": "compile-less -d src -o lib/esm --watch",
20-
"css:build:dist": "compile-less -d src --combine lib/w-github-corners.css --rm-global",
21-
"ts:watch": "tsbb watch --env-name esm:dev --env-name cjs --target react",
22-
"ts:build": "tsbb build --target react"
12+
"css:build": "compile-less -d src -o esm",
13+
"css:watch": "compile-less -d src -o esm --watch",
14+
"css:build:dist": "compile-less -d src --combine w-github-corners.css --rm-global",
15+
"watch": "tsbb watch",
16+
"build": "tsbb build"
2317
},
2418
"homepage": "https://uiwjs.github.io/react-github-corners",
2519
"repository": {
@@ -33,23 +27,24 @@
3327
"react-dom": ">=16.8.0"
3428
},
3529
"files": [
36-
"lib",
30+
"cjs",
31+
"esm",
3732
"src"
3833
],
3934
"dependencies": {},
4035
"devDependencies": {
41-
"@types/react": "17.0.5",
42-
"@types/react-dom": "17.0.3",
43-
"@uiw/react-markdown-preview": "3.1.1",
36+
"@types/react": "17.0.19",
37+
"@types/react-dom": "17.0.9",
38+
"@uiw/react-markdown-preview": "3.3.0",
4439
"@uiw/react-shields": "1.1.1",
45-
"@uiw/reset.css": "1.0.4",
46-
"@kkt/raw-modules": "6.9.0",
47-
"@kkt/scope-plugin-options": "6.9.0",
48-
"compile-less-cli": "1.8.0",
49-
"kkt": "6.9.0",
40+
"@uiw/reset.css": "1.0.5",
41+
"@kkt/raw-modules": "6.11.0",
42+
"@kkt/scope-plugin-options": "6.11.0",
43+
"compile-less-cli": "1.8.1",
44+
"kkt": "6.11.0",
5045
"react": "17.0.2",
5146
"react-dom": "17.0.2",
52-
"tsbb": "2.2.0"
47+
"tsbb": "3.0.0"
5348
},
5449
"eslintConfig": {
5550
"extends": [

‎src/tsconfig.json

+6-23
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,10 @@
11
{
2+
"extends": "../tsconfig",
3+
"include": ["../src"],
24
"compilerOptions": {
3-
"target": "es5",
4-
"lib": [
5-
"dom",
6-
"dom.iterable",
7-
"esnext"
8-
],
9-
"allowJs": true,
10-
"skipLibCheck": true,
11-
"esModuleInterop": true,
12-
"allowSyntheticDefaultImports": true,
13-
"strict": true,
14-
"forceConsistentCasingInFileNames": true,
15-
"module": "esnext",
16-
"moduleResolution": "node",
17-
"resolveJsonModule": true,
18-
"isolatedModules": true,
19-
"declaration": true,
205
"baseUrl": ".",
21-
"jsx": "react"
22-
},
23-
"include": ["../src"],
24-
"typeRoots": [
25-
"../node_modules/@types",
26-
]
6+
"outDir": "../cjs",
7+
"emitDeclarationOnly": true,
8+
"noEmit": false
9+
}
2710
}

0 commit comments

Comments
 (0)
Please sign in to comment.