Коммит
0f9d2d02de
|
@ -1,3 +1,2 @@
|
||||||
bower_components/
|
|
||||||
node_modules/
|
node_modules/
|
||||||
dist/
|
dist/
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
language: node_js
|
||||||
|
node_js:
|
||||||
|
- "node"
|
||||||
|
addons:
|
||||||
|
chrome: stable
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- node_modules
|
2
LICENSE
2
LICENSE
|
@ -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
|
||||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
25
package.json
25
package.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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче