Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
MrWangJustToDo committed Dec 10, 2024
1 parent 760d122 commit 7af6cd9
Show file tree
Hide file tree
Showing 2 changed files with 140 additions and 0 deletions.
70 changes: 70 additions & 0 deletions packages/angular/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"name": "@git-diff-view/angular",
"description": "@git-diff-view/angular",
"author": "MrWangJustToDo",
"license": "MIT",
"version": "0.0.23",
"main": "index.js",
"types": "index.d.ts",
"files": [
"dist",
"index.js",
"index.d.ts"
],
"scripts": {
"gen:type": "dts-bundle-generator -o index.d.ts dist/types/index.d.ts",
"gen:css": "postcss src/style --dir dist/css"
},
"repository": {
"type": "git",
"url": "git+https://github.com/MrWangJustToDo/git-diff-view.git",
"directory": "packages/angular"
},
"homepage": "https://github.com/MrWangJustToDo/git-diff-view",
"exports": {
".": {
"require": "./index.js",
"types": "./index.d.ts",
"import": "./dist/esm/index.mjs"
},
"./styles/*": "./dist/css/*",
"./package.json": "./package.json"
},
"buildOptions": [
{
"input": "./src/index.withStyle.ts",
"output": [
{
"dir": "./dist",
"entryFileNames": "esm/index.mjs",
"format": "esm",
"sourcemap": true
}
]
},
{
"input": "./src/index.ts",
"output": [
{
"dir": "./dist",
"entryFileNames": "cjs/index.js",
"format": "cjs",
"type": true,
"multiple": true,
"sourcemap": true
}
]
}
],
"keywords": [
"diff component",
"angular diff component"
],
"dependencies": {
"@git-diff-view/core": "^0.0.23",
"@types/hast": "^3.0.0",
"fast-diff": "^1.3.0",
"highlight.js": "^11.10.0",
"lowlight": "^3.2.0"
}
}
70 changes: 70 additions & 0 deletions packages/svelte/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"name": "@git-diff-view/svelte",
"description": "@git-diff-view/svelte",
"author": "MrWangJustToDo",
"license": "MIT",
"version": "0.0.23",
"main": "index.js",
"types": "index.d.ts",
"files": [
"dist",
"index.js",
"index.d.ts"
],
"scripts": {
"gen:type": "dts-bundle-generator -o index.d.ts dist/types/index.d.ts",
"gen:css": "postcss src/style --dir dist/css"
},
"repository": {
"type": "git",
"url": "git+https://github.com/MrWangJustToDo/git-diff-view.git",
"directory": "packages/svelte"
},
"homepage": "https://github.com/MrWangJustToDo/git-diff-view",
"exports": {
".": {
"require": "./index.js",
"types": "./index.d.ts",
"import": "./dist/esm/index.mjs"
},
"./styles/*": "./dist/css/*",
"./package.json": "./package.json"
},
"buildOptions": [
{
"input": "./src/index.withStyle.ts",
"output": [
{
"dir": "./dist",
"entryFileNames": "esm/index.mjs",
"format": "esm",
"sourcemap": true
}
]
},
{
"input": "./src/index.ts",
"output": [
{
"dir": "./dist",
"entryFileNames": "cjs/index.js",
"format": "cjs",
"type": true,
"multiple": true,
"sourcemap": true
}
]
}
],
"keywords": [
"diff component",
"svelte diff component"
],
"dependencies": {
"@git-diff-view/core": "^0.0.23",
"@types/hast": "^3.0.0",
"fast-diff": "^1.3.0",
"highlight.js": "^11.10.0",
"lowlight": "^3.2.0"
}
}

0 comments on commit 7af6cd9

Please sign in to comment.