Skip to content
This repository was archived by the owner on Oct 4, 2022. It is now read-only.

Added typings entry in schema-blocks package.json #1141

Merged
merged 1 commit into from
Apr 2, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/schema-blocks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "@yoast/schema-blocks",
"version": "1.6.0",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"license": "MIT",
"private": false,
"dependencies": {
Expand Down Expand Up @@ -60,7 +61,7 @@
"lint": "eslint \"src/**\"",
"lint-fix": "eslint \"src/**\" --fix",
"test": "jest",
"prepublishOnly": "rm -rf dist && yarn build && mkdir dist/css && cp -r css/*.css dist/css && cp package.json dist/package.json && json -I -f dist/package.json -e \"this.main='index.js'\""
"prepublishOnly": "rm -rf dist && yarn build && mkdir dist/css && cp -r css/*.css dist/css && cp package.json dist/package.json && json -I -f dist/package.json -e \"this.main='index.js'\" -e \"this.typings='index.d.ts'\""
},
"publishConfig": {
"access": "public"
Expand Down