UNPKG

tt-mp

Version:

一套组件化、可复用、易扩展的头条小程序 UI 组件库

97 lines (96 loc) 2.74 kB
{ "name": "tt-mp", "version": "1.2.4", "description": "一套组件化、可复用、易扩展的头条小程序 UI 组件库", "main": "lib/index.js", "module": "es/index.js", "miniprogram": "lib", "scripts": { "start": "cross-env NODE_ENV=development gulp", "build:example": "cross-env NODE_ENV=development gulp buildExample", "build:core": "cross-env NODE_ENV=production gulp buildCore", "build:es": "cross-env NODE_ENV=production gulp buildEs", "build:lib": "cross-env NODE_ENV=production gulp buildLib", "build": "cross-env NODE_ENV=production gulp build", "release": "bash ./scripts/release.sh", "eslint": "eslint src example --ext .js", "eslint:fix": "eslint src example --ext .js --fix", "stylelint": "stylelint \"{src,example}/**/*.less\" --syntax less", "stylelint:fix": "stylelint \"{src,example}/**/*.{wxss,less}\" --syntax less --fix", "lint": "npm run eslint && npm run stylelint", "lint:fix": "npm run eslint:fix && npm run stylelint:fix" }, "devDependencies": { "@babel/core": "^7.5.5", "@babel/plugin-proposal-object-rest-spread": "^7.5.5", "@babel/preset-env": "^7.5.5", "@babel/register": "^7.5.5", "babel-eslint": "^10.0.3", "cross-env": "1.0.8", "del": "^5.0.0", "eslint": "^6.7.2", "eslint-config-prettier": "^6.0.0", "eslint-plugin-import": "^2.19.1", "eslint-plugin-prettier": "^3.1.0", "gulp": "^4.0.2", "gulp-babel": "^8.0.0", "gulp-clean-css": "^3.10.0", "gulp-cssnano": "^2.1.2", "gulp-less": "^3.3.2", "gulp-postcss": "^7.0.0", "gulp-rename": "^1.2.2", "gulp-uglify": "^3.0.2", "gulp-util": "^3.0.8", "husky": "^3.1.0", "lint-staged": "^9.5.0", "postcss-font-base64": "^1.0.5", "prettier": "^2.0.5", "stylelint": "^12.0.0", "stylelint-config-standard": "^19.0.0", "through2": "^2.0.3" }, "repository": { "type": "git", "url": "git+https://github.com/winteraq/tt-mini-app.git" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "{src,example}/**/*.js": [ "eslint --fix", "prettier --write", "git add" ], "{src,example}/**/*.{wxss,less}": [ "stylelint --fix", "git add" ] }, "keywords": [ "component", "bem-css", "tt-weapp", "weapp", "toutiao", "miniprogram" ], "author": "winteraq", "license": "MIT", "bugs": { "url": "https://github.com/winteraq/tt-mini-app/issues" }, "publishConfig": { "registry": "https://registry.npmjs.org/", "access": "public" }, "files": [ "lib", "es", "core", "src" ], "homepage": "https://github.com/winteraq/tt-mini-app#readme" }