myst-frontmatter
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"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", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
286980
42
13
6045
1