2021-06-01 21:49:47 +00:00
|
|
|
{
|
2021-06-04 16:17:03 +00:00
|
|
|
"name": "file-explorer-note-count",
|
2025-09-22 22:33:01 +00:00
|
|
|
"version": "1.2.4",
|
2021-06-04 16:17:03 +00:00
|
|
|
"description": "You can see the number of notes under each folder within the file explorer",
|
|
|
|
|
"main": "main.js",
|
|
|
|
|
"scripts": {
|
|
|
|
|
"prettier": "prettier --write 'src/**/*.+(ts|tsx|json|html|css)'",
|
2021-06-05 05:47:31 +00:00
|
|
|
"eslint": "eslint . --ext .ts,.tsx --fix",
|
2021-06-04 16:17:03 +00:00
|
|
|
"dev": "rollup --config rollup.config.js -w",
|
2021-06-05 06:18:39 +00:00
|
|
|
"release": "release-it",
|
2024-05-26 16:51:13 +00:00
|
|
|
"build": "NODE_ENV=production rollup --config rollup.config.js"
|
2021-06-04 16:17:03 +00:00
|
|
|
},
|
|
|
|
|
"keywords": [],
|
|
|
|
|
"author": "",
|
|
|
|
|
"license": "MIT",
|
|
|
|
|
"devDependencies": {
|
2021-06-05 06:18:39 +00:00
|
|
|
"@release-it/bumper": "^2.0.0",
|
|
|
|
|
"@release-it/conventional-changelog": "^2.0.1",
|
2021-06-04 16:17:03 +00:00
|
|
|
"@rollup/plugin-commonjs": "^18.0.0",
|
|
|
|
|
"@rollup/plugin-node-resolve": "^11.2.1",
|
|
|
|
|
"@rollup/plugin-typescript": "^8.2.1",
|
2021-06-05 05:47:31 +00:00
|
|
|
"@types/json-schema": "^7.0.7",
|
2021-06-04 16:17:03 +00:00
|
|
|
"@types/node": "^14.14.37",
|
2021-06-05 05:47:31 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.23.0",
|
|
|
|
|
"@typescript-eslint/parser": "^4.23.0",
|
2021-06-08 00:40:09 +00:00
|
|
|
"assert-never": "^1.2.1",
|
2021-06-05 06:18:39 +00:00
|
|
|
"cz-conventional-changelog": "^3.3.0",
|
2021-06-05 05:47:31 +00:00
|
|
|
"eslint": "^7.26.0",
|
|
|
|
|
"eslint-config-prettier": "^8.3.0",
|
|
|
|
|
"eslint-plugin-jsdoc": "^34.0.2",
|
|
|
|
|
"eslint-plugin-prefer-arrow": "^1.2.3",
|
|
|
|
|
"eslint-plugin-prettier": "^3.4.0",
|
|
|
|
|
"eslint-plugin-simple-import-sort": "^7.0.0",
|
2021-06-07 03:44:16 +00:00
|
|
|
"json": "^11.0.0",
|
2021-11-20 12:43:54 +00:00
|
|
|
"monkey-around": "^2.2.0",
|
2021-06-04 16:17:03 +00:00
|
|
|
"obsidian": "^0.12.0",
|
2021-06-09 15:35:01 +00:00
|
|
|
"path-browserify": "^1.0.1",
|
2021-06-04 16:17:03 +00:00
|
|
|
"prettier": "^2.3.0",
|
|
|
|
|
"rollup": "^2.32.1",
|
2021-11-20 12:43:54 +00:00
|
|
|
"rollup-plugin-copy": "^3.4.0",
|
2021-06-04 16:17:03 +00:00
|
|
|
"rollup-plugin-import-css": "^2.0.1",
|
|
|
|
|
"tslib": "^2.2.0",
|
|
|
|
|
"typescript": "^4.2.4"
|
2021-06-05 06:18:39 +00:00
|
|
|
},
|
|
|
|
|
"release-it": {
|
|
|
|
|
"hooks": {
|
2021-06-07 03:27:38 +00:00
|
|
|
"before:init": [
|
|
|
|
|
"npm run prettier",
|
|
|
|
|
"npm run eslint"
|
|
|
|
|
],
|
|
|
|
|
"after:bump": [
|
2021-06-07 03:44:16 +00:00
|
|
|
"json -I -f manifest.json -e \"this.version='${version}'\" -o json-4",
|
|
|
|
|
"json -I -f versions.json -e \"this['${version}']='$(cat manifest.json | json minAppVersion)'\" -o json-4",
|
|
|
|
|
"git add .",
|
2021-06-07 03:27:38 +00:00
|
|
|
"npm run build"
|
|
|
|
|
],
|
|
|
|
|
"after:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
|
2021-06-05 06:18:39 +00:00
|
|
|
},
|
|
|
|
|
"git": {
|
2021-06-07 03:27:38 +00:00
|
|
|
"commitMessage": "chore: release v${version}",
|
|
|
|
|
"tagName": "${version}",
|
|
|
|
|
"tagAnnotation": "Release v${version}"
|
2021-06-05 06:18:39 +00:00
|
|
|
},
|
|
|
|
|
"npm": {
|
2021-06-07 03:27:38 +00:00
|
|
|
"publish": false
|
2021-06-05 06:18:39 +00:00
|
|
|
},
|
|
|
|
|
"github": {
|
2021-06-07 03:27:38 +00:00
|
|
|
"release": true,
|
|
|
|
|
"assets": [
|
2021-09-09 06:58:41 +00:00
|
|
|
"build/main.js",
|
|
|
|
|
"build/manifest.json",
|
|
|
|
|
"build/styles.css"
|
2021-06-07 03:27:38 +00:00
|
|
|
],
|
|
|
|
|
"releaseName": "${version}"
|
2021-06-05 06:18:39 +00:00
|
|
|
},
|
|
|
|
|
"plugins": {
|
2021-06-07 03:27:38 +00:00
|
|
|
"@release-it/bumper": {
|
|
|
|
|
"out": "manifest.json"
|
|
|
|
|
},
|
|
|
|
|
"@release-it/conventional-changelog": {
|
|
|
|
|
"preset": "angular",
|
|
|
|
|
"infile": "CHANGELOG.md"
|
|
|
|
|
}
|
2021-06-05 06:18:39 +00:00
|
|
|
}
|
2021-06-07 03:27:38 +00:00
|
|
|
},
|
|
|
|
|
"config": {
|
2021-06-05 06:18:39 +00:00
|
|
|
"commitizen": {
|
2021-06-07 03:27:38 +00:00
|
|
|
"path": "./node_modules/cz-conventional-changelog"
|
2021-06-05 06:18:39 +00:00
|
|
|
}
|
2021-06-07 03:27:38 +00:00
|
|
|
}
|
2021-06-03 14:39:06 +00:00
|
|
|
}
|