Spaces:
Sleeping
Sleeping
| { | |
| "name": "<%= projectName %>", | |
| "version": "1.0.0", | |
| "private": true, | |
| "description": "<%= description %>", | |
| "templateInfo": { | |
| "name": "<%= template %>", | |
| "typescript": <%= typescript %>, | |
| "css": "<%= css %>" | |
| }, | |
| "scripts": { | |
| "build:weapp": "taro build --type weapp", | |
| "build:swan": "taro build --type swan", | |
| "build:alipay": "taro build --type alipay", | |
| "build:tt": "taro build --type tt", | |
| "build:h5": "taro build --type h5", | |
| "build:rn": "taro build --type rn", | |
| "build:qq": "taro build --type qq", | |
| "build:quickapp": "taro build --type quickapp", | |
| "dev:weapp": "npm run build:weapp -- --watch", | |
| "dev:swan": "npm run build:swan -- --watch", | |
| "dev:alipay": "npm run build:alipay -- --watch", | |
| "dev:tt": "npm run build:tt -- --watch", | |
| "dev:h5": "npm run build:h5 -- --watch", | |
| "dev:rn": "npm run build:rn -- --watch", | |
| "dev:qq": "npm run build:qq -- --watch", | |
| "dev:quickapp": "npm run build:quickapp -- --watch" | |
| }, | |
| "author": "", | |
| "license": "MIT", | |
| "dependencies": { | |
| "@tarojs/components": "<%= version %>", | |
| "@tarojs/components-qa": "<%= version %>", | |
| "@tarojs/router": "<%= version %>", | |
| "@tarojs/taro": "<%= version %>", | |
| "@tarojs/taro-alipay": "<%= version %>", | |
| "@tarojs/taro-h5": "<%= version %>", | |
| "@tarojs/taro-qq": "<%= version %>", | |
| "@tarojs/taro-quickapp": "<%= version %>", | |
| "@tarojs/taro-swan": "<%= version %>", | |
| "@tarojs/taro-tt": "<%= version %>", | |
| "@tarojs/taro-weapp": "<%= version %>", | |
| "nervjs": "^1.5.5", | |
| "nerv-devtools": "^1.5.5" | |
| }, | |
| "devDependencies": { | |
| "@types/react": "^16.4.6", | |
| "@types/webpack-env": "^1.13.6", | |
| "@tarojs/plugin-babel": "<%= version %>", | |
| "@tarojs/plugin-csso": "<%= version %>",<% if (css !== 'none') {%> | |
| "@tarojs/plugin-<%= css %>": "<%= version %>",<%}%> | |
| "@tarojs/plugin-uglifyjs": "<%= version %>", | |
| "@tarojs/webpack-runner": "<%= version %>", | |
| "babel-plugin-transform-class-properties": "^6.24.1", | |
| "babel-plugin-transform-decorators-legacy": "^1.3.4", | |
| "babel-plugin-transform-jsx-stylesheet": "^0.6.5", | |
| "babel-plugin-transform-object-rest-spread": "^6.26.0", | |
| "babel-preset-env": "^1.6.1", | |
| "babel-eslint": "^8.2.3", | |
| "eslint": "^4.19.1", | |
| "eslint-config-taro": "<%= version %>", | |
| "eslint-plugin-react": "^7.8.2", | |
| "eslint-plugin-react-hooks": "^1.6.1", | |
| "eslint-plugin-import": "^2.12.0", | |
| "eslint-plugin-taro": "<%= version %>"<% if (typescript) {%>, | |
| "@typescript-eslint/eslint-plugin": "^2.13.0", | |
| "@typescript-eslint/parser": "^2.13.0", | |
| "typescript": "^3.0.1"<%}%> | |
| } | |
| } | |