CI / test-parser (push) Successful in 9m29s
CI / test-core (push) Successful in 9m36s
CI / test-rest (push) Successful in 9m29s
CI / e2e (push) Successful in 9m44s
CI / verify (18.x) (push) Successful in 9m50s
CI / verify (20.x) (push) Successful in 9m50s
CI / verify (24.x) (push) Successful in 9m45s
89 lines
2.5 KiB
JSON
89 lines
2.5 KiB
JSON
{
|
|
"name": "@metona-team/metona-editor",
|
|
"version": "0.4.1",
|
|
"description": "Type-safe, lightweight, zero-dependency Markdown Editor. Desktop-first. React-free. Single-file bundle.",
|
|
"type": "module",
|
|
"main": "dist/metona-editor.cjs",
|
|
"module": "dist/metona-editor.mjs",
|
|
"unpkg": "dist/metona-editor.min.js",
|
|
"jsdelivr": "dist/metona-editor.min.js",
|
|
"types": "dist/metona-editor.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/metona-editor.d.ts",
|
|
"import": "./dist/metona-editor.mjs",
|
|
"require": "./dist/metona-editor.cjs",
|
|
"default": "./dist/metona-editor.js"
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"files": [
|
|
"dist/",
|
|
"src/",
|
|
"README.md",
|
|
"LICENSE"
|
|
],
|
|
"sideEffects": false,
|
|
"scripts": {
|
|
"build": "rollup -c",
|
|
"dev": "rollup -c -w",
|
|
"test": "jest --coverage",
|
|
"test:watch": "jest --watch",
|
|
"lint": "eslint \"src/**/*.ts\"",
|
|
"lint:fix": "eslint \"src/**/*.ts\" --fix",
|
|
"format": "prettier --write src/",
|
|
"typecheck": "tsc --noEmit",
|
|
"bench": "node bench/benchmark.cjs",
|
|
"test:e2e": "node e2e/smoke.cjs",
|
|
"prepublishOnly": "npm run typecheck && npm test && npm run build"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://git.metona.cn/MetonaTeam/MetonaEditor.git"
|
|
},
|
|
"keywords": [
|
|
"markdown",
|
|
"editor",
|
|
"wysiwyg",
|
|
"ui",
|
|
"component",
|
|
"lightweight",
|
|
"zero-dependency",
|
|
"typescript"
|
|
],
|
|
"author": "thzxx",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://git.metona.cn/MetonaTeam/MetonaEditor/issues"
|
|
},
|
|
"homepage": "https://git.metona.cn/MetonaTeam/MetonaEditor#readme",
|
|
"devDependencies": {
|
|
"@babel/core": "^7.22.0",
|
|
"@babel/plugin-transform-modules-commonjs": "^7.22.0",
|
|
"@babel/preset-env": "^7.22.0",
|
|
"@babel/preset-typescript": "^7.22.0",
|
|
"@rollup/plugin-commonjs": "^25.0.0",
|
|
"@rollup/plugin-node-resolve": "^15.0.0",
|
|
"@rollup/plugin-terser": "^0.4.0",
|
|
"@rollup/plugin-typescript": "^11.1.0",
|
|
"@types/jest": "^29.5.0",
|
|
"@typescript-eslint/eslint-plugin": "^8.65.0",
|
|
"@typescript-eslint/parser": "^8.65.0",
|
|
"babel-jest": "^29.5.0",
|
|
"eslint": "^8.40.0",
|
|
"jest": "^29.5.0",
|
|
"jest-environment-jsdom": "^29.5.0",
|
|
"playwright": "^1.62.1",
|
|
"prettier": "^2.8.0",
|
|
"rollup": "^3.20.0",
|
|
"rollup-plugin-dts": "^5.3.0",
|
|
"rollup-plugin-livereload": "^2.0.5",
|
|
"rollup-plugin-serve": "^2.0.1",
|
|
"tslib": "^2.6.0",
|
|
"typescript": "^5.0.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=16.0.0"
|
|
}
|
|
}
|