Merge pull request #35 from github/travis

Automate Travis builds
This commit is contained in:
David Graham 2018-04-02 09:36:24 -06:00 коммит произвёл GitHub
Родитель c8af86d0b0 7a83f22e06
Коммит 0f9d2d02de
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
5 изменённых файлов: 3493 добавлений и 1197 удалений

1
.gitignore поставляемый
Просмотреть файл

@ -1,3 +1,2 @@
bower_components/
node_modules/ node_modules/
dist/ dist/

8
.travis.yml Normal file
Просмотреть файл

@ -0,0 +1,8 @@
language: node_js
node_js:
- "node"
addons:
chrome: stable
cache:
directories:
- node_modules

Просмотреть файл

@ -1,4 +1,4 @@
Copyright (c) 2014 GitHub, Inc. Copyright (c) 2014-2018 GitHub, Inc.
Permission is hereby granted, free of charge, to any person obtaining Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the a copy of this software and associated documentation files (the

4654
package-lock.json сгенерированный

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -3,34 +3,31 @@
"version": "4.0.1", "version": "4.0.1",
"main": "dist/index-umd.js", "main": "dist/index-umd.js",
"license": "MIT", "license": "MIT",
"repository": { "repository": "github/include-fragment-element",
"type": "git",
"url": "git+https://github.com/github/include-fragment-element.git"
},
"files": [ "files": [
"dist" "dist"
], ],
"scripts": { "scripts": {
"build": "babel include-fragment-element.js -o dist/index-umd.js", "clean": "rm -rf dist",
"clean": "rm -rf ./dist",
"lint": "eslint include-fragment-element.js test/*.js", "lint": "eslint include-fragment-element.js test/*.js",
"prebuild": "npm run clean && mkdir dist", "prebuild": "npm run clean && npm run lint && mkdir dist",
"prepublishOnly": "npm run build", "build": "babel include-fragment-element.js -o dist/index-umd.js",
"pretest": "npm run lint", "pretest": "npm run build",
"test": "karma start ./test/karma.config.js" "test": "karma start ./test/karma.config.js",
"prepublishOnly": "npm run build"
}, },
"devDependencies": { "devDependencies": {
"babel-cli": "^6.26.0", "babel-cli": "^6.26.0",
"babel-plugin-transform-custom-element-classes": "^0.1.0", "babel-plugin-transform-custom-element-classes": "^0.1.0",
"babel-preset-es2015": "^6.24.1", "babel-preset-es2015": "^6.24.1",
"chai": "^4.1.2", "chai": "^4.1.2",
"eslint": "^4.13.1", "eslint": "^4.19.0",
"eslint-plugin-github": "^0.20.1", "eslint-plugin-github": "^0.24.0",
"karma": "^1.7.1", "karma": "^2.0.0",
"karma-chai": "^0.1.0", "karma-chai": "^0.1.0",
"karma-chrome-launcher": "^2.2.0", "karma-chrome-launcher": "^2.2.0",
"karma-mocha": "^1.3.0", "karma-mocha": "^1.3.0",
"karma-mocha-reporter": "^2.2.5", "karma-mocha-reporter": "^2.2.5",
"mocha": "^4.0.1" "mocha": "^5.0.0"
} }
} }