Skip to content

chore: update the package.json for publishing with typescript#91

Merged
yoshinorin merged 2 commits intohexojs:masterfrom
yoshinorin:chore/update-package.json-for-ts
Mar 12, 2022
Merged

chore: update the package.json for publishing with typescript#91
yoshinorin merged 2 commits intohexojs:masterfrom
yoshinorin:chore/update-package.json-for-ts

Conversation

@yoshinorin
Copy link
Member

@yoshinorin yoshinorin commented Mar 6, 2022

I'm going to publish a new version. It will be include to replace TypeScript #66.
But, the current package.json settings are not enough for publishing with TypeScript.

This PR is a scaffold for publishing TypeScript.
Thank you :)

@coveralls
Copy link

coveralls commented Mar 6, 2022

Coverage Status

Coverage remained the same at 96.679% when pulling 0341a02 on yoshinorin:chore/update-package.json-for-ts into 1fd7f03 on hexojs:master.

"target": "es6",
"sourceMap": true,
"outDir": "dist",
"declaration": true,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for include fs.d.ts.

"version": "3.1.0",
"description": "File system module for Hexo.",
"main": "lib/fs.js",
"main": "./dist/fs.js",
Copy link
Member Author

@yoshinorin yoshinorin Mar 6, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After execute npm run build the source code will be generate in the dist folder.

@yoshinorin yoshinorin changed the title chore: update package.json for publish typescript chore: update the package.json for publishing with typescript Mar 6, 2022
@yoshinorin yoshinorin requested review from SukkaW and himself65 March 6, 2022 12:49
@yoshinorin yoshinorin merged commit 5f30dd3 into hexojs:master Mar 12, 2022
@yoshinorin yoshinorin deleted the chore/update-package.json-for-ts branch March 12, 2022 03:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants