cross_common
Version:
跨平台公共模块
67 lines (66 loc) • 1.82 kB
JSON
{
"name": "cross_common",
"version": "0.0.91",
"description": "跨平台公共模块",
"main": "dist/cross_common.js",
"files": [
"src",
"dist/*.js",
"types/*.d.ts"
],
"scripts": {
"build_cli": "./node_modules/.bin/webpack-cli --config webpack.dev.js",
"build-dev": "webpack --config webpack.dev.js",
"build": "webpack --config webpack.prod.js",
"test": "echo \"Error: no test specified\" && exit 1",
"precommit": "lint-staged",
"lint": "eslint --fix --ext .js,.jsx,.ts,.tsx ./src",
"lintAll": "eslint --fix --ext .js,.jsx,.ts,.tsx .",
"format": "prettier --write \"src/**/*.js\" \"src/**/*.ts\" \"src/**/*.vue\""
},
"keywords": [
"vue",
"小程序",
"模块"
],
"author": "yaobinbin",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.7.2",
"@babel/plugin-proposal-class-properties": "^7.7.0",
"@babel/preset-env": "^7.7.1",
"@typescript-eslint/eslint-plugin": "^2.7.0",
"@typescript-eslint/parser": "^2.7.0",
"babel-loader": "^8.0.6",
"babel-plugin-transform-remove-console": "^6.9.4",
"clean-webpack-plugin": "^3.0.0",
"eslint": "^6.6.0",
"eslint-config-prettier": "^6.6.0",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-vue": "^6.0.1",
"husky": "^3.1.0",
"lint-staged": "^9.4.3",
"prettier": "^1.19.1",
"ts-loader": "^6.2.1",
"typescript": "^3.7.2",
"uglifyjs-webpack-plugin": "^2.2.0",
"webpack": "^4.41.2",
"webpack-cli": "^3.3.10",
"webpack-merge": "^4.2.2"
},
"dependencies": {
"@babel/polyfill": "^7.7.0"
},
"lint-staged": {
"src/**/*.{js,ts,json,css,vue}": [
"prettier --write",
"eslint --fix",
"git add"
]
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 8"
]
}