Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

myst-frontmatter

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

myst-frontmatter - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

dist/cjs/frontmatter/index.js

34

package.json
{
"name": "myst-frontmatter",
"version": "0.0.1",
"version": "0.0.2",
"license": "MIT",

@@ -8,11 +8,14 @@ "description": "Frontmatter types and validation for the mystjs ecosystem",

"homepage": "https://github.com/curvenote/curvenote#readme",
"main": "./src/index.ts",
"types": "./src/index.ts",
"directories": {
"src": "src"
},
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"files": [
"src",
"dist"
],
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
},
"publishConfig": {

@@ -26,12 +29,12 @@ "access": "public"

"scripts": {
"prepublishOnly": "npm run compile",
"build": "npm run clean && tsc",
"compile": "npm run clean && tsc -p .",
"dev": "tsc -w --preserveWatchOutput -p .",
"clean": "rimraf dist",
"build:esm": "tsc --project ./tsconfig.json --module es2015 --outDir dist/esm",
"build:cjs": "tsc --project ./tsconfig.json --module commonjs --outDir dist/cjs",
"declarations": "tsc --project ./tsconfig.json --declaration --emitDeclarationOnly --outDir dist/types",
"prepublishOnly": "npm run build",
"build": "npm-run-all -l clean -p build:cjs build:esm declarations",
"lint": "eslint \"src/**/!(*.spec).ts\" -c ./.eslintrc.js",
"lint:format": "npx prettier --check \"src/**/*.ts\"",
"test": "jest",
"test:watch": "jest --watchAll",
"test:clear": "jest --clearCache"
"test:watch": "jest --watchAll"
},

@@ -42,4 +45,4 @@ "bugs": {

"dependencies": {
"simple-validators": "^0.0.1",
"doi-utils": "^1.0.4"
"doi-utils": "^1.0.4",
"simple-validators": "^0.0.1"
},

@@ -55,2 +58,3 @@ "devDependencies": {

"moment": "^2.29.4",
"npm-run-all": "^4.1.5",
"prettier": "latest",

@@ -57,0 +61,0 @@ "rimraf": "^3.0.2",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc