Skip to content

Commit

Permalink
Merge d35738c into b375137
Browse files Browse the repository at this point in the history
  • Loading branch information
homer0 committed Aug 1, 2019
2 parents b375137 + d35738c commit 855a01e
Show file tree
Hide file tree
Showing 9 changed files with 743 additions and 558 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8
8.10
8 changes: 0 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,10 @@ Done! Just configure your Aurelia plugins/components and run your target!

## Development

Before doing anything, install the repository hooks:

```bash
# You can either use npm or yarn, it doesn't matter
yarn run hooks
```

### Yarn/NPM Tasks

| Task | Description |
|-------------------------|-------------------------------------|
| `yarn run hooks` | Install the GIT repository hooks. |
| `yarn test` | Run the project unit tests. |
| `yarn run lint` | Lint the modified files. |
| `yarn run lint:full` | Lint the project code. |
Expand Down
102 changes: 54 additions & 48 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,53 +1,59 @@
{
"name": "projext-plugin-webpack-aurelia",
"description": "Allows you to bundle an Aurelia project with projext using the webpack build engine.",
"homepage": "https://homer0.github.io/projext-plugin-webpack-aurelia/",
"version": "1.0.2",
"repository": "homer0/projext-plugin-webpack-aurelia",
"author": "Leonardo Apiwan (@homer0) <me@homer0.com>",
"license": "MIT",
"dependencies": {
"aurelia-extract-clean-loader": "^2.0.0",
"aurelia-webpack-plugin": "^4.0.0",
"aurelia-loader-webpack": "^2.2.1",
"aurelia-loader-nodejs": "^1.0.1",
"aurelia-pal-nodejs": "^1.2.0",
"name": "projext-plugin-webpack-aurelia",
"description": "Allows you to bundle an Aurelia project with projext using the webpack build engine.",
"homepage": "https://homer0.github.io/projext-plugin-webpack-aurelia/",
"version": "1.0.2",
"repository": "homer0/projext-plugin-webpack-aurelia",
"author": "Leonardo Apiwan (@homer0) <me@homer0.com>",
"license": "MIT",
"dependencies": {
"aurelia-extract-clean-loader": "^2.0.1",
"aurelia-webpack-plugin": "^4.0.0",
"aurelia-loader-webpack": "^2.2.1",
"aurelia-loader-nodejs": "^1.0.1",
"aurelia-pal-nodejs": "^1.2.0",

"aurelia-templating": "^1.10.2",
"aurelia-dependency-injection": "^1.4.2",
"aurelia-path": "^1.1.3",
"aurelia-templating": "^1.10.2",
"aurelia-dependency-injection": "^1.4.2",
"aurelia-path": "^1.1.3",

"webpack": "^4.34.0",
"babel-plugin-transform-class-inject-directive": "^2.0.0"
},
"devDependencies": {
"wootils": "^2.3.0",
"eslint": "^5.16.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-import": "^2.17.3",
"eslint-plugin-node": "^9.1.0",
"@babel/core": "7.4.4",
"@babel/preset-env": "7.4.4",
"@babel/plugin-transform-runtime": "7.4.4",
"jest-ex": "^6.0.1",
"jest-cli": "^24.8.0",
"jasmine-expect": "^4.0.1",
"esdoc": "^1.1.0",
"esdoc-standard-plugin": "^1.0.0",
"esdoc-node": "^1.0.4",
"coveralls": "^3.0.4"
},
"engine-strict": true,
"engines": {
"node": ">=8.0.0",
"npm": ">=3.0.0"
},
"main": "src/index.js",
"scripts": {
"hooks": "./utils/hooks/install",
"test": "./utils/scripts/test",
"lint": "./utils/scripts/lint",
"lint:full": "./utils/scripts/lint-full",
"docs": "./utils/scripts/docs"
"webpack": "^4.38.0",
"babel-plugin-transform-class-inject-directive": "^2.0.1"
},
"devDependencies": {
"wootils": "^2.6.0",
"eslint": "^5.16.0",
"eslint-config-airbnb-base": "^13.2.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-node": "^9.1.0",
"@babel/core": "7.5.5",
"@babel/preset-env": "7.5.5",
"@babel/plugin-transform-runtime": "7.5.5",
"jest-ex": "^6.1.1",
"jest-cli": "^24.8.0",
"jasmine-expect": "^4.0.3",
"esdoc": "^1.1.0",
"esdoc-standard-plugin": "^1.0.0",
"esdoc-node": "^1.0.4",
"coveralls": "^3.0.5",
"husky": "^3.0.2"
},
"engine-strict": true,
"engines": {
"node": ">=8.10.0",
"npm": ">=3.0.0"
},
"main": "src/index.js",
"husky": {
"hooks": {
"pre-commit": "./utils/hooks/pre-commit",
"post-merge": "./utils/hooks/post-merge"
}
},
"scripts": {
"test": "./utils/scripts/test",
"lint": "./utils/scripts/lint",
"lint:full": "./utils/scripts/lint-full",
"docs": "./utils/scripts/docs"
}
}
10 changes: 0 additions & 10 deletions utils/hooks/install

This file was deleted.

7 changes: 7 additions & 0 deletions utils/hooks/post-merge
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash -ex

if hash yarn 2>/dev/null; then
yarn
else
npm install
fi
3 changes: 0 additions & 3 deletions utils/hooks/post-merge.local

This file was deleted.

9 changes: 9 additions & 0 deletions utils/hooks/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash -e

if hash yarn 2>/dev/null; then
yarn run lint
yarn test
else
npm run lint
npm test
fi
4 changes: 0 additions & 4 deletions utils/hooks/pre-commit.local

This file was deleted.

0 comments on commit 855a01e

Please sign in to comment.