This commit is contained in:
Sindre Sorhus 2017-06-30 14:11:38 +02:00
Родитель b00e3f9e83
Коммит 57eea6faad
5 изменённых файлов: 76 добавлений и 89 удалений

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

@ -7,6 +7,6 @@ charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[{package.json,*.yml}]
[*.yml]
indent_style = space
indent_size = 2

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

@ -1,4 +1,5 @@
node_modules
yarn.lock
extension/**/*.js
extension/**/*.map
!extension/jquery-3.slim.min.js

1
.npmrc Normal file
Просмотреть файл

@ -0,0 +1 @@
package-lock=false

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

@ -1,21 +1,9 @@
The MIT License (MIT)
MIT License
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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

@ -1,74 +1,71 @@
{
"name": "refined-github",
"description": "Simplifies the GitHub interface and adds useful features",
"private": true,
"scripts": {
"test": "xo && ava && npm run build",
"build": "rollup -c",
"watch": "run-p --continue-on-error --silent \"build -- --watch\"",
"watch:sourcemap": "cross-env SOURCEMAP=true npm run watch --silent",
"release:amo": "cd extension && webext submit",
"release:cws": "cd extension && webstore upload --auto-publish",
"release": "run-s build update-version release:*",
"update-version": "dot-json extension/manifest.json version $(date -u +%y.%-m.%-d.%-H%M)"
},
"dependencies": {
"copy-text-to-clipboard": "^1.0.2",
"debounce-fn": "^1.0.0",
"dom-loaded": "^1.0.0",
"element-ready": "^2.0.0",
"github-injection": "^0.3.0",
"linkify-issues": "^1.1.0",
"linkify-urls": "^1.0.2",
"select-dom": "^4.1.0",
"shorten-repo-url": "^1.1.0",
"to-markdown": "^3.0.4",
"to-semver": "^1.1.0",
"webext-dynamic-content-scripts": "^2.0.1",
"webext-options-sync": "^0.11.0"
},
"devDependencies": {
"ava": "*",
"babel-plugin-transform-es2015-modules-commonjs": "^6.24.1",
"chrome-webstore-upload-cli": "^1.0.0",
"cross-env": "^5.0.1",
"dot-json": "^1.0.3",
"npm-run-all": "^4.0.2",
"rollup": "^0.43.0",
"rollup-plugin-commonjs": "^8.0.2",
"rollup-plugin-json": "^2.3.0",
"rollup-plugin-node-resolve": "^3.0.0",
"rollup-watch": "^4.0.0",
"webext": "^1.9.1-with-submit.1",
"xo": "*"
},
"xo": {
"envs": [
"browser",
"jquery",
"webextensions"
],
"rules": {
"import/no-unassigned-import": 0
},
"ignores": [
"extension/**"
]
},
"ava": {
"files": [
"test/*.js"
],
"source": [
"extension/*.js"
],
"require": [
"babel-register"
]
},
"babel": {
"plugins": [
"transform-es2015-modules-commonjs"
]
}
"scripts": {
"test": "xo && ava && npm run build",
"build": "rollup -c",
"watch": "run-p --continue-on-error --silent \"build -- --watch\"",
"watch:sourcemap": "cross-env SOURCEMAP=true npm run watch --silent",
"release:amo": "cd extension && webext submit",
"release:cws": "cd extension && webstore upload --auto-publish",
"release": "run-s build update-version release:*",
"update-version": "dot-json extension/manifest.json version $(date -u +%y.%-m.%-d.%-H%M)"
},
"dependencies": {
"copy-text-to-clipboard": "^1.0.2",
"debounce-fn": "^1.0.0",
"dom-loaded": "^1.0.0",
"element-ready": "^2.0.0",
"github-injection": "^0.3.0",
"linkify-issues": "^1.1.0",
"linkify-urls": "^1.0.2",
"select-dom": "^4.1.0",
"shorten-repo-url": "^1.1.0",
"to-markdown": "^3.0.4",
"to-semver": "^1.1.0",
"webext-dynamic-content-scripts": "^2.0.1",
"webext-options-sync": "^0.11.0"
},
"devDependencies": {
"ava": "*",
"babel-plugin-transform-es2015-modules-commonjs": "^6.24.1",
"chrome-webstore-upload-cli": "^1.0.0",
"cross-env": "^5.0.1",
"dot-json": "^1.0.3",
"npm-run-all": "^4.0.2",
"rollup": "^0.43.0",
"rollup-plugin-commonjs": "^8.0.2",
"rollup-plugin-json": "^2.3.0",
"rollup-plugin-node-resolve": "^3.0.0",
"rollup-watch": "^4.0.0",
"webext": "^1.9.1-with-submit.1",
"xo": "*"
},
"xo": {
"envs": [
"browser",
"jquery",
"webextensions"
],
"rules": {
"import/no-unassigned-import": 0
},
"ignores": [
"extension/**"
]
},
"ava": {
"files": [
"test/*.js"
],
"source": [
"extension/*.js"
],
"require": [
"babel-register"
]
},
"babel": {
"plugins": [
"transform-es2015-modules-commonjs"
]
}
}