-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add foregroundColor, backgroundColor (#37)
* feat: add foregroundColor, backgroundColor * fix: fix package name * fix: fix taro-code path * fix: fix taro-code name * fix: fix lint error
- Loading branch information
Showing
38 changed files
with
7,562 additions
and
10,286 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,35 @@ | ||
{ | ||
"extends": ["taro/react", "standard"], | ||
"plugins": ["prettier"], | ||
"settings": { | ||
"react": { | ||
"version": "detect" | ||
} | ||
"extends": [ | ||
"taro/react", | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:@typescript-eslint/recommended-requiring-type-checking", | ||
"standard-with-typescript", | ||
"plugin:jest/recommended" | ||
], | ||
"parserOptions": { | ||
"project": "./tsconfig.json" | ||
}, | ||
"rules": {}, | ||
"globals": { | ||
"describe": true, | ||
"beforeEach": true, | ||
"it": true, | ||
"expect": true | ||
"env": { | ||
"jest/globals": true | ||
}, | ||
"parser": "babel-eslint" | ||
"overrides": [ | ||
{ | ||
"files": [ | ||
"packages/**/*.test.tsx", | ||
"packages/**/*.test.js" | ||
], | ||
"rules": { | ||
"taro/no-stateless-component": "off", | ||
"react/react-in-jsx-scope": "off", | ||
"react/no-find-dom-node": "off", | ||
"no-unused-vars": [ | ||
"error", | ||
{ | ||
"varsIgnorePattern": "Nerv" | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,14 @@ | ||
0 silly argv { | ||
0 silly argv _: [ 'add' ], | ||
0 silly argv scope: 'taro-code', | ||
0 silly argv dev: true, | ||
0 silly argv D: true, | ||
0 silly argv globs: [], | ||
0 silly argv lernaVersion: '3.22.1', | ||
0 silly argv '$0': '/Users/miaonster/code/mine/taro-code/node_modules/.bin/lerna', | ||
0 silly argv pkg: '@types/nervjs' | ||
0 silly argv } | ||
1 notice cli v3.22.1 | ||
2 verbose rootPath /Users/miaonster/code/mine/taro-code | ||
3 error Error: 404 Not Found - GET https://registry.yarnpkg.com/@types%2fnervjs - Not found | ||
3 error at /Users/miaonster/code/mine/taro-code/node_modules/@evocateur/npm-registry-fetch/check-response.js:104:15 |
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
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,37 +1,37 @@ | ||
{ | ||
"miniprogramRoot": "lib/", | ||
"projectname": "taro-code", | ||
"description": "Taro.js barcode & qrcode", | ||
"appid": "touristappid", | ||
"setting": { | ||
"urlCheck": true, | ||
"es6": false, | ||
"enhance": false, | ||
"postcss": false, | ||
"preloadBackgroundData": false, | ||
"minified": false, | ||
"newFeature": true, | ||
"coverView": true, | ||
"nodeModules": false, | ||
"autoAudits": false, | ||
"showShadowRootInWxmlPanel": true, | ||
"scopeDataCheck": false, | ||
"uglifyFileName": false, | ||
"checkInvalidKey": true, | ||
"checkSiteMap": true, | ||
"uploadWithSourceMap": true, | ||
"compileHotReLoad": false, | ||
"babelSetting": { | ||
"ignore": [], | ||
"disablePlugins": [], | ||
"outputPath": "" | ||
}, | ||
"useIsolateContext": true, | ||
"useCompilerModule": false, | ||
"userConfirmedUseCompilerModuleSwitch": false | ||
}, | ||
"compileType": "miniprogram", | ||
"simulatorType": "wechat", | ||
"simulatorPluginLibVersion": {}, | ||
"condition": {} | ||
} | ||
"miniprogramRoot": "lib/", | ||
"projectname": "taro-code", | ||
"description": "Taro.js barcode & qrcode", | ||
"appid": "touristappid", | ||
"setting": { | ||
"urlCheck": true, | ||
"es6": false, | ||
"enhance": false, | ||
"postcss": false, | ||
"preloadBackgroundData": false, | ||
"minified": false, | ||
"newFeature": true, | ||
"coverView": true, | ||
"nodeModules": false, | ||
"autoAudits": false, | ||
"showShadowRootInWxmlPanel": true, | ||
"scopeDataCheck": false, | ||
"uglifyFileName": false, | ||
"checkInvalidKey": true, | ||
"checkSiteMap": true, | ||
"uploadWithSourceMap": true, | ||
"compileHotReLoad": false, | ||
"babelSetting": { | ||
"ignore": [], | ||
"disablePlugins": [], | ||
"outputPath": "" | ||
}, | ||
"useIsolateContext": true, | ||
"useCompilerModule": false, | ||
"userConfirmedUseCompilerModuleSwitch": false | ||
}, | ||
"compileType": "miniprogram", | ||
"simulatorType": "wechat", | ||
"simulatorPluginLibVersion": {}, | ||
"condition": {} | ||
} |
Empty file.
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,5 +1,4 @@ | ||
import React from 'react' | ||
import './app.css' | ||
|
||
class App extends React.Component { | ||
render (): React.ReactNode { | ||
|
Oops, something went wrong.