Initial commit of ribbit library
Zero-dependency WYSIWYG markdown editor for the browser, extracted from the ttfrog wiki engine. Initial commit.
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"name": "ribbit",
|
||||
"version": "1.0.0",
|
||||
"description": "Zero-dependency WYSIWYG markdown editor for the browser",
|
||||
"main": "dist/ribbit.js",
|
||||
"types": "dist/ribbit.d.ts",
|
||||
"files": [
|
||||
"dist/",
|
||||
"src/"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "npm run build:check && npm run build:js && npm run build:min",
|
||||
"build:check": "tsc --noEmit",
|
||||
"build:js": "esbuild src/ribbit-editor.ts --bundle --format=iife --sourcemap --outfile=dist/ribbit.js",
|
||||
"build:min": "esbuild src/ribbit-editor.ts --bundle --format=iife --minify --outfile=dist/ribbit.min.js",
|
||||
"test": "npm run build && node test/test_hopdown.js"
|
||||
},
|
||||
"license": "MIT",
|
||||
"author": "evilchili",
|
||||
"devDependencies": {
|
||||
"@types/jsdom": "^28.0.1",
|
||||
"esbuild": "^0.28.0",
|
||||
"jsdom": "^20.0.3",
|
||||
"typescript": "^6.0.3"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user