Skip to content

Commit

Permalink
chore: Add publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
jpedroschmitz committed Jan 26, 2021
1 parent e9c7afd commit 15aa6d0
Show file tree
Hide file tree
Showing 2 changed files with 1,148 additions and 37 deletions.
33 changes: 20 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,18 @@
"coverage": "nyc report --reporter=text-lcov | coveralls",
"copyfiles": "copyfiles \"templates/**/*.txt\" build",
"compile": "tsc",
"prebuild": "rimraf ./build",
"build": "npm run compile && npm run copyfiles",
"lint": "eslint --ignore-path .gitignore",
"format": "prettier \"**/*.ts\" --write --ignore-path .gitignore"
"format": "prettier \"**/*.ts\" --write --ignore-path .gitignore",
"publish:alpha": "npm run build && np --branch=alpha --tag=alpha"
},
"np": {
"yarn": true,
"contents": "build"
},
"publishConfig": {
"access": "public"
},
"nyc": {
"exclude": [
Expand Down Expand Up @@ -55,10 +64,6 @@
"url": "https://github.com/rocketseat/adonis-bull/issues"
},
"homepage": "https://github.com/rocketseat/adonis-bull#readme",
"publishConfig": {
"access": "public",
"tag": "alpha"
},
"devDependencies": {
"@adonisjs/ace": "^6.9.3",
"@adonisjs/application": "^2.0.0",
Expand All @@ -67,18 +72,13 @@
"@adonisjs/logger": "^2.1.0",
"@adonisjs/mrm-preset": "^2.4.0",
"@adonisjs/sink": "^1.0.17",
"@commitlint/cli": "^11.0.0",
"@poppinss/dev-utils": "^1.0.11",
"@types/node": "^14.6.1",
"@typescript-eslint/eslint-plugin": "^4.1.0",
"@typescript-eslint/parser": "^4.1.0",
"copyfiles": "^2.3.0",
"japa": "^3.1.1",
"nyc": "^15.1.0",
"reflect-metadata": "^0.1.13",
"ts-node": "^9.0.0",
"typescript": "^3.9.7",
"@commitlint/cli": "^11.0.0",
"commitlint-config-rocketseat": "^0.0.1",
"copyfiles": "^2.3.0",
"coveralls": "^3.0.7",
"delay": "^4.3.0",
"eslint": "^7.18.0",
Expand All @@ -90,8 +90,15 @@
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"husky": "^4.3.8",
"japa": "^3.1.1",
"lint-staged": "^10.5.3",
"prettier": "^2.2.1"
"np": "^7.2.0",
"nyc": "^15.1.0",
"prettier": "^2.2.1",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"ts-node": "^9.0.0",
"typescript": "^3.9.7"
},
"repository": {
"type": "git",
Expand Down
Loading

0 comments on commit 15aa6d0

Please sign in to comment.