Skip to content

Commit

Permalink
Merge pull request #92 from marp-team/update-package-json
Browse files Browse the repository at this point in the history
Add main entry point and type definitions
  • Loading branch information
yhatt authored May 8, 2019
2 parents 202eb9e + 29d2055 commit 2444118
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 11 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
bin/
lib/
tmp/
types/
node_modules/**
!/test/_files/node_modules/ignore.*

Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.git/
coverage/
lib/
types/
node_modules
package.json
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### Added

- Test with Node 12 (Erbium) ([#91](https://github.com/marp-team/marp-cli/pull/91))
- Add main entry point and type definitions ([#92](https://github.com/marp-team/marp-cli/pull/92))

### Changed

Expand Down
37 changes: 26 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
"name": "@marp-team/marp-cli",
"version": "0.9.0",
"description": "A CLI interface for Marp and Marpit based converters",
"repository": "https://github.com/marp-team/marp-cli",
"engines": {
"node": ">=8.9.0"
},
"license": "MIT",
"author": {
"name": "Marp team",
"url": "https://github.com/marp-team"
Expand All @@ -16,17 +13,31 @@
"url": "https://github.com/yhatt"
}
],
"license": "MIT",
"publishConfig": {
"access": "public"
"keywords": [
"marp",
"markdown",
"cli",
"slide",
"deck",
"presentation"
],
"repository": {
"type": "git",
"url": "https://github.com/marp-team/marp-cli"
},
"bin": {
"marp": "./marp-cli.js"
"engines": {
"node": ">=8.9.0"
},
"main": "lib/marp-cli.js",
"types": "types/src/marp-cli.d.ts",
"files": [
"marp-cli.js",
"lib/"
"lib/",
"types/"
],
"bin": {
"marp": "./marp-cli.js"
},
"pkg": {
"scripts": "lib/**/*.js"
},
Expand All @@ -41,13 +52,14 @@
"format:write": "yarn -s format --write",
"lint:ts": "tslint \"{src,test}/**/*.ts\"",
"lint:css": "stylelint \"src/**/*.{css,scss}\"",
"prepack": "npm-run-all --parallel check:* lint:* test:coverage --sequential build",
"prepack": "npm-run-all --parallel check:* lint:* test:coverage --parallel build types",
"preversion": "run-p check:* format:check lint:* test:coverage",
"standalone": "rimraf bin && pkg --out-path ./bin .",
"standalone:pack": "node ./scripts/pack.js",
"standalone:pack:upload": "node ./scripts/upload.js",
"test": "jest",
"test:coverage": "jest --coverage",
"types": "rimraf types && tsc --declaration --emitDeclarationOnly --outDir types",
"version": "curl https://raw.githubusercontent.com/marp-team/marp/master/version.js | node && git add -A CHANGELOG.md",
"watch": "rollup -w -c"
},
Expand Down Expand Up @@ -129,5 +141,8 @@
"tmp": "^0.1.0",
"ws": "^7.0.0",
"yargs": "^13.2.2"
},
"publishConfig": {
"access": "public"
}
}

0 comments on commit 2444118

Please sign in to comment.