Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add: fruitshop using wepy 2.0 to templates #37

Open
wants to merge 37 commits into
base: 2.0.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 6 commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
6bb264e
add fruitshop to template
Aug 2, 2020
a13b043
add fruitshop to template
Aug 2, 2020
c79c786
add fruitshop to template
Aug 2, 2020
e6da7ec
add fruitshop to template
Aug 2, 2020
a0eb8ec
Update .gitignore
hdzattain Aug 3, 2020
dc3154a
Delete .wepycache
hdzattain Aug 3, 2020
d0b4d2a
Delete counter.wpy
hdzattain Aug 4, 2020
e906bea
Delete group.wpy
hdzattain Aug 4, 2020
c189372
Delete groupitem.wpy
hdzattain Aug 4, 2020
2aa1a3a
Delete list.wpy
hdzattain Aug 4, 2020
691459f
Delete panel.wpy
hdzattain Aug 4, 2020
3b0fc14
Delete wepy-list.wpy
hdzattain Aug 4, 2020
7710c18
Delete index.wpy
hdzattain Aug 4, 2020
b9cb8a1
Delete .wepycache
hdzattain Aug 4, 2020
2546711
Delete index.wpy
hdzattain Aug 4, 2020
e6ff2ab
Delete counter.wpy
hdzattain Aug 4, 2020
436e489
Delete wepy-list.wpy
hdzattain Aug 4, 2020
cde7e9d
Delete panel.wpy
hdzattain Aug 4, 2020
d4f3eba
Delete list.wpy
hdzattain Aug 4, 2020
bcd0a5f
Delete groupitem.wpy
hdzattain Aug 4, 2020
4571fb6
Delete group.wpy
hdzattain Aug 4, 2020
5eb04b0
Delete .editorconfig
hdzattain Aug 6, 2020
b5b2ee9
Delete .eslintignore
hdzattain Aug 6, 2020
8a232ea
Delete .eslintrc.js
hdzattain Aug 6, 2020
9c2c549
Delete .gitignore
hdzattain Aug 6, 2020
baab55f
Delete .prettierrc
hdzattain Aug 6, 2020
46b829d
Delete .wepyignore
hdzattain Aug 6, 2020
f8c13a9
Delete package.json
hdzattain Aug 6, 2020
c6ec644
Delete package-lock.json
hdzattain Aug 6, 2020
2a3d2f2
Delete project.config.json
hdzattain Aug 6, 2020
3c857e6
Delete app.wpy
hdzattain Aug 6, 2020
78e72d3
Delete eventHub.js
hdzattain Aug 6, 2020
c62fbde
Delete test.js
hdzattain Aug 6, 2020
ee607ed
Delete Fruit.wpy
hdzattain Aug 6, 2020
aa12d5f
Delete Pay.wpy
hdzattain Aug 6, 2020
c99b5c3
Delete .gitignore
hdzattain Aug 6, 2020
4b367a2
Delete wepy.config.js
hdzattain Aug 6, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions templates/fruitshop/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
1 change: 1 addition & 0 deletions templates/fruitshop/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dist/*
30 changes: 30 additions & 0 deletions templates/fruitshop/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
module.exports = {
root: true,
globals: { wx: true },
parser: 'babel-eslint',
parserOptions: {
sourceType: 'module'
},
env: {
browser: true
},
// https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style
extends: 'standard',
// required to lint *.wpy files
plugins: [
'html'
],
settings: {
'html/html-extensions': ['.html', '.wpy']
},
// add your custom rules here
'rules': {
// allow paren-less arrow functions
'arrow-parens': 0,
// allow async-await
'generator-star-spacing': 0,
// allow debugger during development
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
'space-before-function-paren': 0
}
}
3 changes: 3 additions & 0 deletions templates/fruitshop/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules
dist
.DS_Store
3 changes: 3 additions & 0 deletions templates/fruitshop/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"singleQuote": true
}
4 changes: 4 additions & 0 deletions templates/fruitshop/.wepyignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules
dist
.DS_Store
*.wpy___jb_tmp___
Loading