@prezly/uploads
Advanced tools
Comparing version 0.3.0 to 0.3.1
{ | ||
"name": "@prezly/uploads", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Types and utilities to handle uploaded files & images in Prezly", | ||
@@ -22,8 +22,13 @@ "author": "Ivan Voskoboinyk <ivan@voskoboinyk.com>", | ||
"scripts": { | ||
"clean": "rimraf dist node_modules", | ||
"build": "npm run build:esm && npm run build:commonjs && renamer --force --find '.js' --replace '.cjs' 'dist/commonjs/**/*.{js,js.map}'", | ||
"build:esm": "tsc --project ./tsconfig.esm.json && renamer --force --find '.js' --replace '.mjs' 'dist/esm/**/*.{js,js.map}'", | ||
"build:commonjs": "tsc --project ./tsconfig.commonjs.json", | ||
"type-check": "tsc --project .", | ||
"test": "echo 'Sorry no tests yet'", | ||
"clean": "npm run clean:build && npm run clean:node_modules", | ||
"clean:build": "rimraf dist", | ||
"clean:node_modules": "rimraf node_modules", | ||
"build": "npm run build:types && npm run build:esm && npm run build:commonjs", | ||
"build:esm": "babel --extensions='.ts' src/ --config-file=./babel.esm.config.json --out-dir=./dist/esm && renamer --force --find '.js' --replace '.mjs' 'dist/esm/**/*.{js,js.map}'", | ||
"build:commonjs": "babel --extensions='.ts' src/ --config-file=./babel.cjs.config.json --out-dir=./dist/commonjs && renamer --force --find '.js' --replace '.cjs' 'dist/commonjs/**/*.{js,js.map}'", | ||
"build:types": "tsc --project .", | ||
"test": "npm run test:build", | ||
"test:build": "npm run test:cjs && npm run test:esm", | ||
"test:esm": "node dist/esm/index.mjs", | ||
"test:cjs": "node dist/commonjs/index.cjs", | ||
"start": "npm run build --incremental --watch", | ||
@@ -55,2 +60,7 @@ "prettier:check": "prettier --check './src/**/*.{ts,js}'", | ||
"devDependencies": { | ||
"@babel/cli": "^7.17.6", | ||
"@babel/core": "^7.17.9", | ||
"@babel/preset-env": "^7.16.11", | ||
"@babel/preset-typescript": "^7.16.7", | ||
"babel-plugin-add-import-extension": "^1.6.0", | ||
"np": "^7.5.0", | ||
@@ -57,0 +67,0 @@ "prettier": "^2.4.1", |
@@ -45,10 +45,10 @@ { | ||
/* Emit */ | ||
// "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */ | ||
"declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */ | ||
// "declarationMap": true, /* Create sourcemaps for d.ts files. */ | ||
// "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */ | ||
"emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */ | ||
"sourceMap": true, /* Create source map files for emitted JavaScript files. */ | ||
// "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If `declaration` is true, also designates a file that bundles all .d.ts output. */ | ||
// "outDir": "dist", /* Specify an output folder for all emitted files. */ | ||
"outDir": "dist/types", /* Specify an output folder for all emitted files. */ | ||
// "removeComments": true, /* Disable emitting comments. */ | ||
"noEmit": true, /* Disable emitting files from a compilation. */ | ||
// "noEmit": true /* Disable emitting files from a compilation. */ | ||
// "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */ | ||
@@ -55,0 +55,0 @@ "importsNotUsedAsValues": "error", /* Specify emit/checking behavior for imports that are only used for types */ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
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
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
1
0
23461
10
35
294