Skip to content

Commit

Permalink
Remove gulp as a build dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
pgoforth committed Jun 27, 2019
1 parent 58a5c54 commit 6863bd6
Show file tree
Hide file tree
Showing 12 changed files with 3,079 additions and 2,232 deletions.
35 changes: 31 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,35 @@
# Travis CI config
# http://docs.travis-ci.com/user/languages/javascript-with-nodejs/
# https://docs.travis-ci.com/user/customizing-the-build/
# https://docs.travis-ci.com/user/migrating-from-legacy/

filter_secrets: false
language: node_js

node_js:
- 'lts/*'
- 'lts/*'

install:
- npm install
- npm install -g gulp
- npm install

before_script:
- npm run lint
- npm run build

script:
- gulp verify
- npm test

jobs:
include:
- stage: Deploy
name: Publish to npm
script: true
after_success: true
deploy:
provider: npm
email: $NPM_EMAIL
api_key: $NPM_API_KEY
skip_cleanup: true
on:
tags: true
branch: master
10 changes: 10 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module.exports = {
babelrcRoots: 'build/*',
presets: [
'@babel/preset-env',
],
plugins: [
'@babel/plugin-proposal-class-properties',
'@babel/plugin-proposal-object-rest-spread',
],
};
23 changes: 19 additions & 4 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,25 @@
"name": "cookieconsent",
"version": "3.1.1",
"homepage": "http://cookieconsent.osano.com/",
"authors": ["Osano"],
"authors": [
"Osano"
],
"description": "Osano cookie consent plugin",
"main": ["build/cookieconsent.min.js", "build/cookieconsent.min.css"],
"keywords": ["cookieconsent", "cookie", "law"],
"main": [
"build/cookieconsent.min.js",
"build/cookieconsent.min.css"
],
"keywords": [
"cookieconsent",
"cookie",
"law"
],
"license": "MIT",
"ignore": ["**/.*", "node_modules", "bower_components", "test", "tests"]
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
]
}
7 changes: 1 addition & 6 deletions build/cookieconsent.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/cookieconsent.min.js

Large diffs are not rendered by default.

76 changes: 0 additions & 76 deletions gulpfile.js

This file was deleted.

Loading

0 comments on commit 6863bd6

Please sign in to comment.