Skip to content

Commit

Permalink
chore(): Create publish (npm) command and update version
Browse files Browse the repository at this point in the history
  • Loading branch information
dookie23 committed Aug 21, 2023
1 parent e0ef266 commit e55dac5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gradiant/xapi-dsl",
"version": "1.16.0",
"version": "1.16.1",
"description": "Gradiant XAPI constants for xAPI",
"license": "Mozilla Public License Version 2.0",
"author": "Lorens León <lleon@gradiant.org>",
Expand All @@ -25,7 +25,8 @@
"build": "./node_modules/typescript/bin/tsc",
"clean": "rm -rf dsl types index.js index.d.ts index.d.ts.map",
"lint": "prettier --write 'src/**/*.{js,ts}' && tslint --fix 'src/**/*.{js,ts}'",
"dsl:print": "node -r ts-node/register/transpile-only -p \"JSON.stringify(require('./src').dsl, null, 2)\" > dsl-definition.json"
"dsl:print": "node -r ts-node/register/transpile-only -p \"JSON.stringify(require('./src').dsl, null, 2)\" > dsl-definition.json",
"publish": "npm run clean && npm run build && npm run dsl:print && npm publish"
},
"devDependencies": {
"lint-staged": "^12.3.7",
Expand Down

0 comments on commit e55dac5

Please sign in to comment.