Browse Source

Meta tweaks

master
Sindre Sorhus 7 years ago
parent
commit
57eea6faad
  1. 2
      .editorconfig
  2. 1
      .gitignore
  3. 1
      .npmrc
  4. 20
      license
  5. 141
      package.json

2
.editorconfig

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

1
.gitignore

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

1
.npmrc

@ -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) Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
Permission is hereby granted, free of charge, to any person obtaining a copy 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:
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 The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 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.
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.

141
package.json

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

Loading…
Cancel
Save