UNPKG

@gaonengwww/tiny-toolkit-dev

Version:

tiny-cli 模块开发脚手架

108 lines (107 loc) 3.61 kB
{ "name": "@gaonengwww/tiny-toolkit-dev", "version": "1.0.1", "description": "tiny-cli 模块开发脚手架", "main": "dist/index.js", "typings": "dist/index.d.ts", "repository": "", "license": "MIT", "tinyOption": { "type": "plugin", "update": true, "chName": "tiny-cli 模块开发套件" }, "keywords": [ "tiny-cli", "tiny-cli toolkit", "dev" ], "scripts": { "describe": "npm-scripts-info", "build": "run-p build:*", "build:main": "tsc -p tsconfig.json", "fix": "run-s fix:*", "fix:prettier": "prettier \"src/**/*.ts\" --write", "fix:tslint": "tslint --fix --project .", "test": "run-s build test:*", "test:lint": "tslint --project . && prettier \"src/**/*.ts\" --list-different", "test:unit": "nyc --silent ava", "watch": "run-s clean build:main && run-p \"build:main -- -w\"", "cov": "run-s build test:unit cov:html && open-cli coverage/index.html", "cov:html": "nyc report --reporter=html", "cov:send": "nyc report --reporter=lcov && codecov", "cov:check": "nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100", "doc": "run-s doc:html && open-cli build/docs/index.html", "doc:html": "typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --out build/docs", "doc:json": "typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --json build/docs/typedoc.json", "doc:publish": "gh-pages -m \"[ci skip] Updates\" -d build/docs", "clean": "rm -rf build test lib dist && rm package-lock.json || true", "prepare-release": "run-s test cov:check doc:html version doc:publish", "prepublishOnly": "run-s fix build" }, "scripts-info": { "info": "Display information about the package scripts", "build": "Clean and rebuild the project", "fix": "Try to automatically fix any linting problems", "test": "Lint and unit test the project", "watch": "Watch and rebuild the project on save, then rerun relevant tests", "cov": "Rebuild, run tests, then create and open the coverage report", "doc": "Generate HTML API documentation and open it in a browser", "doc:json": "Generate API documentation in typedoc JSON format", "version": "Bump package.json version, update CHANGELOG.md, tag release", "prepare-release": "One-step: clean, build, test, publish docs, and prep a release" }, "engines": { "node": ">=8.9" }, "dependencies": { "@lerna/create-symlink": "^3.16.2", "@opentiny/cli-devkit": "^1.0.0-alpha.0", "app-root-path": "^2.2.1", "axios": "^0.19.0", "chalk": "^2.4.2", "cross-spawn": "^6.0.5", "fs-extra": "^8.1.0", "inquirer": "^6.5.0", "mem-fs": "^1.1.3", "mem-fs-editor": "^6.0.0", "npm-run": "^5.0.1", "rimraf": "^2.6.3" }, "devDependencies": { "@bitjson/npm-scripts-info": "^1.0.0", "@types/node": "^12.6.8", "ava": "2.2.0", "codecov": "^3.5.0", "cz-conventional-changelog": "^2.1.0", "gh-pages": "^2.0.1", "npm-run-all": "^4.1.5", "nyc": "^14.1.1", "open-cli": "^5.0.0", "prettier": "^1.18.2", "trash-cli": "^3.0.0", "tslint": "^5.18.0", "tslint-config-airbnb": "^5.11.1", "tslint-config-prettier": "^1.18.0", "tslint-immutable": "^6.0.1", "typescript": "^3.5.3" }, "ava": { "failFast": true, "files": [ "build/main/**/*.spec.js" ], "sources": [ "build/main/**/*.js" ] }, "prettier": { "singleQuote": true }, "nyc": { "extends": "@istanbuljs/nyc-config-typescript", "exclude": [ "**/*.spec.js" ] } }