Skip to content

Commit

Permalink
moved gh-release to /scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
dstekanov committed May 15, 2020
1 parent d26fc7f commit b7a2adb
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 60 deletions.
118 changes: 59 additions & 59 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,59 +1,59 @@
{
"name": "selenium-ide-extension-boilerplate",
"version": "0.1.1",
"repository": "[email protected]:SeleniumHQ/selenium-ide.git",
"license": "MIT",
"private": true,
"scripts": {
"start": "webpack-dev-server --hot",
"build": "webpack",
"build:prod": "rm -rf build && env NODE_ENV=production yarn build",
"test": "jest",
"lint": "eslint webpack.config.babel.js src/ --ext .js --ext .jsx",
"version": "node scripts/version.js && git add src/manifest.json",
"release-prep": "yarn && yarn test && yarn build && yarn lint",
"release:firefox": "cd build && web-ext-submit",
"release:chrome": "cd build && webstore upload --auto-publish",
"postpublish": "yarn build:prod && npx ./gh-release.js"
},
"jest": {
"testMatch": [
"**/src/**/__test?(s)__/**/*.js?(x)"
]
},
"devDependencies": {
"@babel/core": "^7.6.2",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-proposal-decorators": "^7.3.0",
"@babel/plugin-proposal-object-rest-spread": "^7.6.2",
"@babel/preset-env": "^7.6.2",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.6.2",
"babel-eslint": "^10.0.1",
"babel-jest": "^26.0.0",
"babel-loader": "^8.1.0",
"chrome-webstore-upload-cli": "^1.2.0",
"copy-webpack-plugin": "^4.0.1",
"css-loader": "^0.28.7",
"eslint": "^4.15.0",
"eslint-plugin-class-property": "^1.1.0",
"eslint-plugin-jest": "^21.6.1",
"extract-text-webpack-plugin": "^3.0.0",
"file-loader": "^0.11.2",
"grizzly": "^4.0.1",
"html-webpack-plugin": "^2.30.1",
"jest": "^24.9.0",
"postcss-flexbugs-fixes": "^3.2.0",
"postcss-loader": "^2.0.6",
"putasset": "^4.3.2",
"style-loader": "^0.18.2",
"url-loader": "^0.5.9",
"web-ext-submit": "^3.1.1",
"webpack": "^3.5.6"
},
"dependencies": {
"@seleniumhq/side-utils": "^3.16.0",
"ua-parser-js": "^0.7.19",
"webextension-polyfill": "https://github.com/corevo/webextension-polyfill#2cc27453b501e4426eb6741943fbb4041c0d18f5"
}
}
{
"name": "selenium-ide-extension-boilerplate",
"version": "0.1.1",
"repository": "[email protected]:SeleniumHQ/selenium-ide.git",
"license": "MIT",
"private": true,
"scripts": {
"start": "webpack-dev-server --hot",
"build": "webpack",
"build:prod": "rm -rf build && env NODE_ENV=production yarn build",
"test": "jest",
"lint": "eslint webpack.config.babel.js src/ --ext .js --ext .jsx",
"version": "node scripts/version.js && git add src/manifest.json",
"release-prep": "yarn && yarn test && yarn build && yarn lint",
"release:firefox": "cd build && web-ext-submit",
"release:chrome": "cd build && webstore upload --auto-publish",
"postpublish": "yarn build:prod && npx scripts/gh-release.js"
},
"jest": {
"testMatch": [
"**/src/**/__test?(s)__/**/*.js?(x)"
]
},
"devDependencies": {
"@babel/core": "^7.6.2",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-proposal-decorators": "^7.3.0",
"@babel/plugin-proposal-object-rest-spread": "^7.6.2",
"@babel/preset-env": "^7.6.2",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.6.2",
"babel-eslint": "^10.0.1",
"babel-jest": "^26.0.0",
"babel-loader": "^8.1.0",
"chrome-webstore-upload-cli": "^1.2.0",
"copy-webpack-plugin": "^4.0.1",
"css-loader": "^0.28.7",
"eslint": "^4.15.0",
"eslint-plugin-class-property": "^1.1.0",
"eslint-plugin-jest": "^21.6.1",
"extract-text-webpack-plugin": "^3.0.0",
"file-loader": "^0.11.2",
"grizzly": "^4.0.1",
"html-webpack-plugin": "^2.30.1",
"jest": "^24.9.0",
"postcss-flexbugs-fixes": "^3.2.0",
"postcss-loader": "^2.0.6",
"putasset": "^4.3.2",
"style-loader": "^0.18.2",
"url-loader": "^0.5.9",
"web-ext-submit": "^3.1.1",
"webpack": "^3.5.6"
},
"dependencies": {
"@seleniumhq/side-utils": "^3.16.0",
"ua-parser-js": "^0.7.19",
"webextension-polyfill": "https://github.com/corevo/webextension-polyfill#2cc27453b501e4426eb6741943fbb4041c0d18f5"
}
}
2 changes: 1 addition & 1 deletion gh-release.js → scripts/gh-release.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const putasset = require('putasset');
const token = process.env.GH_TOKEN;
const owner = 'selenide';
const repo = 'selenide-for-selenium-ide';
const manifest = require('./src/manifest.json');
const manifest = require('../src/manifest.json');
const tag = 'v' + manifest.version;

function log(message) {
Expand Down

0 comments on commit b7a2adb

Please sign in to comment.