forked from jd-opensource/taro-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
88 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"extends": "stylelint-config-standard", | ||
"plugins": ["stylelint-scss"], | ||
"rules": { | ||
"at-rule-no-unknown": null, | ||
"scss/at-rule-no-unknown": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,67 +1,76 @@ | ||
{ | ||
"name": "taro-ui-examples", | ||
"version": "1.0.0", | ||
"private": true, | ||
"description": "UI KIT for Taro", | ||
"main": "index.js", | ||
"scripts": { | ||
"dev:weapp": "npm run build:weapp -- --watch", | ||
"dev:h5": "npm run build:h5 -- --watch", | ||
"build:weapp": "taro build --type weapp", | ||
"name": "taro-ui-examples", | ||
"version": "1.0.0", | ||
"private": true, | ||
"description": "UI KIT for Taro", | ||
"main": "index.js", | ||
"scripts": { | ||
"dev:weapp": "npm run build:weapp -- --watch", | ||
"dev:h5": "npm run build:h5 -- --watch", | ||
"build:weapp": "taro build --type weapp", | ||
"build:h5": "taro build --type h5", | ||
"lint": "eslint ./src --fix" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "lint-staged", | ||
"commit-msg": "commitlint -e $GIT_PARAMS" | ||
} | ||
}, | ||
"lint-staged": { | ||
"*.js": [ | ||
"eslint --quiet --cache --fix", | ||
"git add" | ||
] | ||
}, | ||
"author": "O2Team <aotu.io>", | ||
"license": "MIT", | ||
"dependencies": { | ||
"@tarojs/components": "0.0.70", | ||
"@tarojs/router": "0.0.70", | ||
"@tarojs/taro": "0.0.70", | ||
"@tarojs/taro-h5": "0.0.70", | ||
"@tarojs/taro-weapp": "0.0.70", | ||
"lodash": "^4.17.10", | ||
"nervjs": "^1.3.0", | ||
"prop-types": "^15.6.2" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "^7.0.0", | ||
"@commitlint/config-conventional": "^7.0.1", | ||
"@tarojs/cli": "0.0.70", | ||
"@tarojs/plugin-babel": "0.0.70", | ||
"@tarojs/plugin-csso": "0.0.70", | ||
"@tarojs/plugin-sass": "0.0.70", | ||
"@tarojs/plugin-uglifyjs": "0.0.70", | ||
"@tarojs/webpack-runner": "0.0.70", | ||
"babel-eslint": "^8.2.3", | ||
"babel-plugin-transform-class-properties": "^6.24.1", | ||
"babel-plugin-transform-decorators-legacy": "^1.3.4", | ||
"babel-plugin-transform-object-rest-spread": "^6.26.0", | ||
"babel-preset-env": "^1.6.1", | ||
"eslint": "^4.19.1", | ||
"eslint-config-o2team": "^0.1.6", | ||
"eslint-config-taro": "0.0.70", | ||
"eslint-plugin-import": "^2.12.0", | ||
"eslint-plugin-react": "^7.8.2", | ||
"eslint-plugin-taro": "0.0.70", | ||
"glob": "^7.1.2", | ||
"gulp": "^3.9.1", | ||
"gulp-clean": "^0.4.0", | ||
"gulp-concat": "^2.6.1", | ||
"gulp-sass": "^4.0.1", | ||
"husky": "^1.0.0-rc.13", | ||
"lint-staged": "^7.2.0", | ||
"node-fs-extra": "^0.8.2" | ||
} | ||
"lint": "eslint ./src --fix", | ||
"stylelint": "stylelint \"src/**/*.scss\" --syntax scss", | ||
"stylelint-fix": "stylelint \"src/**/*.scss\" --syntax scss --fix" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "lint-staged", | ||
"commit-msg": "commitlint -e $GIT_PARAMS" | ||
} | ||
}, | ||
"lint-staged": { | ||
"*.js": [ | ||
"eslint --quiet --cache --fix", | ||
"git add" | ||
], | ||
"src/**/*.scss": [ | ||
"stylelint --syntax scss --fix", | ||
"git add" | ||
] | ||
}, | ||
"author": "O2Team <aotu.io>", | ||
"license": "MIT", | ||
"dependencies": { | ||
"@tarojs/components": "0.0.70", | ||
"@tarojs/router": "0.0.70", | ||
"@tarojs/taro": "0.0.70", | ||
"@tarojs/taro-h5": "0.0.70", | ||
"@tarojs/taro-weapp": "0.0.70", | ||
"lodash": "^4.17.10", | ||
"nervjs": "^1.3.0", | ||
"prop-types": "^15.6.2" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "^7.0.0", | ||
"@commitlint/config-conventional": "^7.0.1", | ||
"@tarojs/cli": "0.0.70", | ||
"@tarojs/plugin-babel": "0.0.70", | ||
"@tarojs/plugin-csso": "0.0.70", | ||
"@tarojs/plugin-sass": "0.0.70", | ||
"@tarojs/plugin-uglifyjs": "0.0.70", | ||
"@tarojs/webpack-runner": "0.0.70", | ||
"babel-eslint": "^8.2.3", | ||
"babel-plugin-transform-class-properties": "^6.24.1", | ||
"babel-plugin-transform-decorators-legacy": "^1.3.4", | ||
"babel-plugin-transform-object-rest-spread": "^6.26.0", | ||
"babel-preset-env": "^1.6.1", | ||
"eslint": "^4.19.1", | ||
"eslint-config-o2team": "^0.1.6", | ||
"eslint-config-taro": "0.0.70", | ||
"eslint-plugin-import": "^2.12.0", | ||
"eslint-plugin-react": "^7.8.2", | ||
"eslint-plugin-taro": "0.0.70", | ||
"glob": "^7.1.2", | ||
"gulp": "^3.9.1", | ||
"gulp-clean": "^0.4.0", | ||
"gulp-concat": "^2.6.1", | ||
"gulp-sass": "^4.0.1", | ||
"husky": "^1.0.0-rc.13", | ||
"lint-staged": "^7.2.0", | ||
"node-fs-extra": "^0.8.2", | ||
"stylelint": "^9.3.0", | ||
"stylelint-config-standard": "^18.2.0", | ||
"stylelint-scss": "^3.2.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters