Skip to content

Commit

Permalink
build: add project configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
niquenen committed Sep 17, 2024
1 parent bba26e1 commit 8f1fc39
Showing 1 changed file with 62 additions and 0 deletions.
62 changes: 62 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@niquenen/gfm-toc",
"author": "niquenen",
"version": "0.1.0",
"type": "module",
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
},
"homepage": "https://github.com/niquenen/gfm-toc#readme",
"license": "MIT",
"description": "Simple tool to create table of contents.",
"main": "./dist/index.js",
"bin": {
"gfm-toc": "./dist/index.js"
},
"private": false,
"scripts": {
"postprepare": "is-ci || husky",
"start": "npm run build && node dist/index.js",
"build": "tsc",
"clean": "rimraf -g \"*(.|*.)tsbuildinfo\" dist",
"fclean": "npm run clean && rimraf node_modules",
"lint": "eslint",
"test": ""
},
"repository": {
"type": "git",
"url": "git://github.com/niquenen/gfm-toc.git"
},
"keywords": [
"gfm",
"toc"
],
"bugs": {
"url": "https://github.com/niquenen/gfm-toc/issues"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
},
"devDependencies": {
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@types/js-beautify": "^1.14.3",
"@types/mdast": "^4.0.4",
"@types/node": "^22.5.5",
"dom-serializer": "^2.0.0",
"esbuild": "^0.23.1",
"eslint": "^9.10.0",
"htmlparser2": "^9.1.0",
"husky": "^9.1.6",
"is-ci": "^3.0.1",
"js-beautify": "^1.15.1",
"mdast-util-from-markdown": "^2.0.1",
"mdast-util-gfm": "^3.0.0",
"mdast-util-to-markdown": "^2.1.0",
"micromark-extension-gfm": "^3.0.0",
"rimraf": "^6.0.1",
"typescript": "^5.6.2",
"typescript-eslint": "^8.6.0"
}
}

0 comments on commit 8f1fc39

Please sign in to comment.