1 Star 0 Fork 34

durandal/outline.js

forked from Yaohaixiao/outline.js 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
package.json 3.91 KB
一键复制 编辑 原始数据 按行查看 历史
{
"name": "@yaohaixiao/outline.js",
"version": "3.30.4",
"description": "outline.js - 自动生成文章导读(Table of Contents)导航的 JavaScript 工具。",
"main": "outline.min.js",
"files": [
"theme",
"utils",
"_createButton.js",
"_getChapterParentIdByDiffer.js",
"_getChaptersWithCode.js",
"_paintChapters.js",
"_resetHeading.js",
"_updateHeading.js",
"anchors.css",
"anchors.min.css",
"anchors.js",
"anchors.min.js",
"base.js",
"chapters.css",
"chapters.min.css",
"chapters.js",
"chapters.min.js",
"drawer.css",
"drawer.min.css",
"drawer.js",
"drawer.min.js",
"getChapters.js",
"message.css",
"message.min.css",
"message.js",
"message.min.js",
"outline.css",
"outline.min.css",
"outline.js",
"outline.min.js",
"print.js",
"toolbar.css",
"toolbar.min.css",
"toolbar.js",
"toolbar.min.js",
"zIndex.js"
],
"scripts": {
"start": "gulp start && gulp watch",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"build:lib:style": "gulp buildLibStyles",
"build:lib:script": "rollup -c build/rollup.config.lib.js --bundleConfigAsCjs",
"build:lib": "npm run build:lib:script && npm run build:lib:style",
"build:api:docs": "gulp buildApi",
"build:api:examples": "gulp buildExamples",
"build:api:style": "gulp buildApiStyle",
"build:api:script": "rollup -c build/rollup.config.api.js --bundleConfigAsCjs",
"build:api": "gulp build",
"build:script": "npm run build:lib:script && npm run build:api:script",
"build:style": "npm run build:lib:style && npm run build:api:style",
"build": "npm run build:lib && npm run build:api",
"lint": "eslint",
"lint:fix": "npm run lint --cache --fix",
"prettier:check": "npx prettier --check \"**/*.(js|less)\"",
"prettier:write": "npx prettier --write \"**/*.(js|less)\"",
"test:unit": "jest --config jest.config.js",
"test": "npm run lint:fix && npm run prettier:write && npm run test:unit",
"watch": "gulp watch",
"prepare": "husky install"
},
"keywords": [
"JavaScript",
"Article",
"Outline"
],
"author": "Robert Yao",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/yaohaixiao/outline.js.git"
},
"bugs": {
"url": "https://github.com/yaohaixiao/outline.js/issues"
},
"homepage": "https://github.com/yaohaixiao/outline.js#readme",
"devDependencies": {
"@babel/core": "^7.21.0",
"@babel/preset-env": "^7.14.8",
"@commitlint/cli": "^17.4.4",
"@commitlint/config-conventional": "^17.4.4",
"@rollup/plugin-commonjs": "^25.0.2",
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-terser": "^0.4.3",
"@yaohaixiao/delegate.js": "^2.0.0",
"@yaohaixiao/subscribers.js": "^1.1.0",
"babel-jest": "^29.5.0",
"commitlint": "^17.4.4",
"conventional-changelog-cli": "^2.2.2",
"eslint": "^8.34.0",
"eslint-config-prettier": "^8.6.0",
"eslint-import-resolver-jest": "^3.0.2",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^4.2.1",
"gulp": "^4.0.2",
"gulp-clean": "^0.4.0",
"gulp-connect": "^5.7.0",
"gulp-cssmin": "^0.2.0",
"gulp-eslint": "^6.0.0",
"gulp-less": "^5.0.0",
"gulp-livereload": "^4.0.2",
"gulp-open": "^3.0.1",
"gulp-pug": "^5.0.0",
"gulp-rename": "^2.0.0",
"gulp-run": "^1.7.1",
"gulp-sourcemaps": "^3.0.0",
"gulp-watch": "^5.0.1",
"husky": "^8.0.3",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.6.1",
"jest-html-reporter": "^3.7.0",
"less-plugin-autoprefix": "^2.0.0",
"lint-staged": "^13.1.2",
"os": "^0.1.2",
"prettier": "^2.8.4",
"rollup": "^3.26.0"
},
"gitHooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint"
},
"lint-staged": {
"**/*.js": [
"npm run lint:fix",
"npm run prettier:write"
]
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/ddal/outline.js.git
git@gitee.com:ddal/outline.js.git
ddal
outline.js
outline.js
master

搜索帮助