-
-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated generator. Added initial testing workflow.
- Loading branch information
1 parent
09e1189
commit 45bd937
Showing
21 changed files
with
41,811 additions
and
32 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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
module.exports = { | ||
presets: [ | ||
[ | ||
'@babel/preset-env', | ||
{ | ||
targets: { | ||
node: 'current', | ||
}, | ||
}, | ||
], | ||
], | ||
}; |
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,26 @@ | ||
module.exports = { | ||
moduleFileExtensions: ["js", "jsx", "json", "vue"], | ||
collectCoverage: false, | ||
transform: { | ||
"^.+\\.vue$": "vue-jest", | ||
".+\\.(css|styl|less|sass|scss|svg|png|jpg|ttf|woff|woff2)$": "jest-transform-stub", | ||
"^.+\\.jsx?$": "babel-jest" | ||
}, | ||
transformIgnorePatterns: [ | ||
"node_modules/(?!@inkline/inkline)" | ||
], | ||
moduleNameMapper: { | ||
'^@/(.*)$': '<rootDir>/$1', | ||
'^~/(.*)$': '<rootDir>/$1', | ||
'^vue$': 'vue/dist/vue.common.js' | ||
}, | ||
snapshotSerializers: ["jest-serializer-vue"], | ||
testMatch: [ | ||
"**/tests/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)" | ||
], | ||
setupFilesAfterEnv: [ | ||
"./tests/jest/setup.js" | ||
], | ||
testURL: "http://localhost/", | ||
verbose: true | ||
}; |
Large diffs are not rendered by default.
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 |
---|---|---|
@@ -1,29 +1,59 @@ | ||
{ | ||
"name": "vue-cli-plugin-inkline", | ||
"version": "0.0.3", | ||
"description": "Inkline UI/UX Framework Plugin for Vue CLI", | ||
"main": "index.js", | ||
"author": "Manuel Tancoigne <m.tancoigne@gmail.com>", | ||
"contributors": [ | ||
"Alex Grozav <alex@grozav.com> (https://grozav.com/)" | ||
], | ||
"homepage": "https://github.com/inkline/vue-cli-plugin-inkline#readme", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/inkline/vue-cli-plugin-inkline.git" | ||
}, | ||
"license": "MIT", | ||
"private": false, | ||
"bugs": { | ||
"url": "https://github.com/inkline/vue-cli-plugin-inkline/issues" | ||
}, | ||
"keywords": [ | ||
"inkline", | ||
"inkline plugin", | ||
"vue", | ||
"vue-cli", | ||
"vue-cli inkline", | ||
"vue-cli-3", | ||
"vue-cli-3 inkline" | ||
] | ||
"name": "@inkline/vue-cli-plugin-inkline", | ||
"version": "1.0.0", | ||
"description": "Inkline UI/UX Framework Plugin for Vue CLI", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "jest", | ||
"test:dev": "jest --watch", | ||
"prepare": "cd tests/app && npm install" | ||
}, | ||
"dependencies": { | ||
"@inkline/inkline": "^1.0.0" | ||
}, | ||
"peerDependencies": { | ||
"vue": "^2.0.0", | ||
"node-sass": "*", | ||
"sass-loader": "*" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.8.4", | ||
"@babel/preset-env": "^7.8.4", | ||
"@vue/test-utils": "^1.0.0-beta.31", | ||
"babel-jest": "^25.1.0", | ||
"jest": "^25.1.0", | ||
"jest-serializer-vue": "^2.0.2", | ||
"jest-transform-stub": "^2.0.0", | ||
"rimraf": "^3.0.2", | ||
"vue-jest": "^3.0.5" | ||
}, | ||
"files": [ | ||
"index.js", | ||
"generator/", | ||
"README.md", | ||
"LICENSE" | ||
], | ||
"author": "Alex Grozav <alex@grozav.com> (https://grozav.com/)", | ||
"contributors": [ | ||
"Manuel Tancoigne <m.tancoigne@gmail.com>" | ||
], | ||
"homepage": "https://github.com/inkline/vue-cli-plugin-inkline#readme", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/inkline/vue-cli-plugin-inkline.git" | ||
}, | ||
"license": "MIT", | ||
"private": false, | ||
"bugs": { | ||
"url": "https://github.com/inkline/vue-cli-plugin-inkline/issues" | ||
}, | ||
"keywords": [ | ||
"inkline", | ||
"inkline plugin", | ||
"vue", | ||
"vue-cli", | ||
"vue-cli inkline", | ||
"vue-cli-3", | ||
"vue-cli-3 inkline" | ||
] | ||
} |
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,5 @@ | ||
module.exports = { | ||
presets: [ | ||
'@vue/cli-plugin-babel/preset' | ||
] | ||
}; |
Binary file not shown.
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,17 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width,initial-scale=1.0"> | ||
<link rel="icon" href="/favicon.ico"> | ||
<title>app</title> | ||
</head> | ||
<body> | ||
<noscript> | ||
<strong>We're sorry but app doesn't work properly without JavaScript enabled. Please enable it to continue.</strong> | ||
</noscript> | ||
<div id="app"></div> | ||
<!-- built files will be auto injected --> | ||
</body> | ||
</html> |
Oops, something went wrong.