Updating version and clean up package.json

This commit is contained in:
ashishj 2023-01-19 20:42:33 +01:00
parent be818ad57f
commit e865368649

View File

@ -1,14 +1,14 @@
{ {
"name": "@mermaid-js/mermaid-timeline", "name": "@mermaid-js/mermaid-timeline",
"version": "9.2.0-rc2", "version": "9.4.0",
"description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.", "description": "Timeline diagram module for Mermaid.js.",
"main": "dist/mermaid-timeline.core.mjs",
"module": "dist/mermaid-timeline.core.mjs", "module": "dist/mermaid-timeline.core.mjs",
"types": "dist/detector.d.ts",
"type": "module", "type": "module",
"exports": { "exports": {
".": { ".": {
"require": "./dist/mermaid-timeline.min.js", "import": "./dist/mermaid-timeline.core.mjs",
"import": "./dist/mermaid-timeline.core.mjs" "types": "./dist/detector.d.ts"
}, },
"./*": "./*" "./*": "./*"
}, },
@ -19,24 +19,13 @@
"mermaid" "mermaid"
], ],
"scripts": { "scripts": {
"clean": "rimraf dist", "prepublishOnly": "pnpm -w run build"
"build:types": "tsc -p ./tsconfig.json --emitDeclarationOnly",
"build:watch": "yarn build:code --watch",
"build:esbuild": "concurrently \"yarn build:code\" \"yarn build:types\"",
"build": "yarn clean; yarn build:esbuild",
"dev": "node .esbuild/serve.cjs",
"release": "yarn build",
"lint": "eslint --cache --ignore-path .gitignore . && yarn lint:jison && prettier --check .",
"lint:fix": "eslint --fix --ignore-path .gitignore . && prettier --write .",
"lint:jison": "ts-node-esm src/jison/lint.mts",
"todo-prepare": "concurrently \"husky install ../../.husky\" \"yarn build\"",
"todo-pre-commit": "lint-staged"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/mermaid-js/mermaid" "url": "https://github.com/mermaid-js/mermaid"
}, },
"author": "Knut Sveidqvist", "author": "Ashish Jain",
"license": "MIT", "license": "MIT",
"standard": { "standard": {
"ignore": [ "ignore": [