改 less 为 sass
Showing
... | @@ -6,7 +6,7 @@ | ... | @@ -6,7 +6,7 @@ |
"templateInfo": { | "templateInfo": { | ||
"name": "redux", | "name": "redux", | ||
"typescript": true, | "typescript": true, | ||
"css": "less" | "css": "sass" | ||
}, | }, | ||
"scripts": { | "scripts": { | ||
"build:weapp": "taro build --type weapp", | "build:weapp": "taro build --type weapp", | ||
... | @@ -21,7 +21,7 @@ | ... | @@ -21,7 +21,7 @@ |
"dev:tt": "npm run build:tt -- --watch", | "dev:tt": "npm run build:tt -- --watch", | ||
"dev:h5": "npm run build:h5 -- --watch", | "dev:h5": "npm run build:h5 -- --watch", | ||
"dev:rn": "npm run build:rn -- --watch", | "dev:rn": "npm run build:rn -- --watch", | ||
"lint": "tslint --project ./tsconfig.json && stylelint \"./src/**/*.less\"", | "lint": "tslint --project ./tsconfig.json && stylelint \"./src/**/*.scss\"", | ||
"precommit": "npm run lint", | "precommit": "npm run lint", | ||
"run:shell": "cd ../taro-native-shell/ && yarn android" | "run:shell": "cd ../taro-native-shell/ && yarn android" | ||
}, | }, | ||
... | @@ -51,7 +51,7 @@ | ... | @@ -51,7 +51,7 @@ |
"devDependencies": { | "devDependencies": { | ||
"@tarojs/plugin-babel": "1.3.12", | "@tarojs/plugin-babel": "1.3.12", | ||
"@tarojs/plugin-csso": "1.3.12", | "@tarojs/plugin-csso": "1.3.12", | ||
"@tarojs/plugin-less": "1.3.12", | "@tarojs/plugin-sass": "1.3.12", | ||
"@tarojs/plugin-uglifyjs": "1.3.12", | "@tarojs/plugin-uglifyjs": "1.3.12", | ||
"@tarojs/webpack-runner": "1.3.12", | "@tarojs/webpack-runner": "1.3.12", | ||
"@types/react": "^16.4.8", | "@types/react": "^16.4.8", | ||
... | @@ -73,6 +73,7 @@ | ... | @@ -73,6 +73,7 @@ |
"stylelint": "^10.1.0", | "stylelint": "^10.1.0", | ||
"stylelint-config-standard": "^18.3.0", | "stylelint-config-standard": "^18.3.0", | ||
"stylelint-config-taro-rn": "1.3.12", | "stylelint-config-taro-rn": "1.3.12", | ||
"stylelint-scss": "^3.9.3", | |||
"stylelint-taro-rn": "1.3.12", | "stylelint-taro-rn": "1.3.12", | ||
"tslint": "^5.17.0", | "tslint": "^5.17.0", | ||
"tslint-react": "^4.0.0", | "tslint-react": "^4.0.0", | ||
... | ... |
File moved
src/conpoments/modal/modal.scss
0 → 100644
src/conpoments/modal/modal.tsx
0 → 100644
File moved
src/pages/home/tempaltes/scss/detail.scss
0 → 100644
File moved
Please
register
or
sign in
to comment