Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
Christophe Hamerling committed Oct 26, 2018
0 parents commit 4f0328f
Show file tree
Hide file tree
Showing 26 changed files with 17,247 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .browserslistrc
@@ -0,0 +1,3 @@
> 1%
last 2 versions
not ie <= 8
14 changes: 14 additions & 0 deletions .eslintrc.js
@@ -0,0 +1,14 @@
module.exports = {
root: true,
env: {
node: true
},
extends: ["plugin:vue/essential", "@vue/prettier"],
rules: {
"no-console": process.env.NODE_ENV === "production" ? "error" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "error" : "off"
},
parserOptions: {
parser: "babel-eslint"
}
};
24 changes: 24 additions & 0 deletions .gitignore
@@ -0,0 +1,24 @@
.DS_Store
node_modules
/dist

/tests/e2e/videos/
/tests/e2e/screenshots/

# local env files
.env.local
.env.*.local

# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw*
5 changes: 5 additions & 0 deletions .postcssrc.js
@@ -0,0 +1,5 @@
module.exports = {
plugins: {
autoprefixer: {}
}
};
3 changes: 3 additions & 0 deletions babel.config.js
@@ -0,0 +1,3 @@
module.exports = {
presets: ["@vue/app"]
};
3 changes: 3 additions & 0 deletions cypress.json
@@ -0,0 +1,3 @@
{
"pluginsFile": "tests/e2e/plugins/index.js"
}
17 changes: 17 additions & 0 deletions jest.config.js
@@ -0,0 +1,17 @@
module.exports = {
moduleFileExtensions: ["js", "jsx", "json", "vue"],
transform: {
"^.+\\.vue$": "vue-jest",
".+\\.(css|styl|less|sass|scss|svg|png|jpg|ttf|woff|woff2)$":
"jest-transform-stub",
"^.+\\.jsx?$": "babel-jest"
},
moduleNameMapper: {
"^@/(.*)$": "<rootDir>/src/$1"
},
snapshotSerializers: ["jest-serializer-vue"],
testMatch: [
"**/tests/unit/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)"
],
testURL: "http://localhost/"
};

0 comments on commit 4f0328f

Please sign in to comment.