mirror of
https://gitee.com/antv/g6.git
synced 2024-12-05 05:09:07 +08:00
53 lines
1.6 KiB
JSON
53 lines
1.6 KiB
JSON
{
|
|
"name": "@antv/g6-wx",
|
|
"version": "0.0.1",
|
|
"description": "微信小程序g6组件",
|
|
"files": ["es"],
|
|
"keywords": ["G6", "G6Mobile", "Wechat"],
|
|
"license": "MIT",
|
|
"miniprogram": "es",
|
|
"devDependencies": {
|
|
"@babel/core": "^7.6.4",
|
|
"@babel/runtime": "^7.11.2",
|
|
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
|
|
"@babel/plugin-transform-runtime": "^7.11.5",
|
|
"@babel/preset-env": "^7.6.3",
|
|
"@babel/preset-typescript": "^7.6.0",
|
|
"@typescript-eslint/parser": "^2.17.0",
|
|
"alipay-style": "^0.1.0",
|
|
"eslint": "^5.16.0",
|
|
"eslint-config-ali": "^3.1.0",
|
|
"eslint-plugin-import": "^2.11.0",
|
|
"eslint-plugin-typescript": "^0.14.0",
|
|
"gulp": "^4.0.0",
|
|
"gulp-babel": "^8.0.0",
|
|
"gulp-clean-css": "^4.0.0",
|
|
"gulp-if": "^2.0.2",
|
|
"gulp-inject-envs": "^1.1.1",
|
|
"gulp-less": "^4.0.1",
|
|
"gulp-rename": "^1.2.3",
|
|
"lint-staged": "^8.2.0",
|
|
"mini-types": "^0.0.1",
|
|
"pre-commit": "^1.2.2",
|
|
"stylelint": "^10.1.0",
|
|
"stylelint-config-standard": "^18.2.0",
|
|
"typescript": "^3.6.4"
|
|
},
|
|
"dependencies": {},
|
|
"scripts": {
|
|
"lint-staged": "lint-staged",
|
|
"build": "NODE_ENV=production node scripts/compiler.js",
|
|
"pub": "npm run build && node scripts/pub.js",
|
|
"dev": "node scripts/compiler.js",
|
|
"build:rpx": "NODE_ENV=production node scripts/compiler.js --rpx",
|
|
"pub:rpx": "npm run build:rpx && node scripts/pub.js --rpx",
|
|
"dev:rpx": "node scripts/compiler.js --rpx"
|
|
},
|
|
"pre-commit": ["lint-staged"],
|
|
"lint-staged": {
|
|
"*.ts": ["eslint --ext .ts", "git add"],
|
|
"*.js": ["eslint", "git add"],
|
|
"*.less": ["stylelint --syntax less"]
|
|
}
|
|
}
|