Skip to content

Commit

Permalink
Merge pull request #20 from homer0/next
Browse files Browse the repository at this point in the history
v5.0.0
  • Loading branch information
homer0 committed Aug 1, 2019
2 parents 2a8dde0 + 82691ee commit 6f08907
Show file tree
Hide file tree
Showing 9 changed files with 669 additions and 488 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 @@ -88,18 +88,10 @@ Now, there are a few options you can change in order to customize the way the HT

## 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
84 changes: 45 additions & 39 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,42 +1,48 @@
{
"name": "projext-plugin-webpack-angularjs",
"description": "Allows you to bundle an AngularJS project with projext using the webpack build engine.",
"homepage": "https://homer0.github.io/projext-plugin-webpack-angularjs/",
"version": "4.0.2",
"repository": "homer0/projext-plugin-webpack-angularjs",
"author": "Leonardo Apiwan (@homer0) <me@homer0.com>",
"license": "MIT",
"dependencies": {
"babel-plugin-angularjs-annotate": "0.10.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.3"
},
"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"
"name": "projext-plugin-webpack-angularjs",
"description": "Allows you to bundle an AngularJS project with projext using the webpack build engine.",
"homepage": "https://homer0.github.io/projext-plugin-webpack-angularjs/",
"version": "5.0.0",
"repository": "homer0/projext-plugin-webpack-angularjs",
"author": "Leonardo Apiwan (@homer0) <me@homer0.com>",
"license": "MIT",
"dependencies": {
"babel-plugin-angularjs-annotate": "0.10.0"
},
"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.

Loading

0 comments on commit 6f08907

Please sign in to comment.