Comparing version 0.0.1 to 0.1.0
111
package.json
{ | ||
"name": "sqids", | ||
"version": "0.0.1", | ||
"version": "0.1.0", | ||
"description": "Generate YouTube-like ids from numbers.", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"keywords": [ | ||
"sqids", | ||
"encode", | ||
"ids" | ||
], | ||
"homepage": "https://sqids.org/javascript", | ||
"bugs": { | ||
"url": "https://github.com/sqids/sqids-javascript/issues" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/sqids/sqids-javascript.git" | ||
"url": "https://github.com/sqids/sqids-javascript.git" | ||
}, | ||
"author": "", | ||
"license": "ISC", | ||
"bugs": { | ||
"url": "https://github.com/sqids/sqids-javascript/issues" | ||
"license": "MIT", | ||
"author": "sqids.org <npm@invent.life> (https://github.com/sqids)", | ||
"contributors": [ | ||
{ | ||
"name": "Bazyli Brzóska", | ||
"email": "npm@invent.life", | ||
"url": "https://twitter.com/niieani" | ||
} | ||
], | ||
"exports": { | ||
".": { | ||
"import": "./esm/sqids.js", | ||
"require": "./cjs/index.js" | ||
}, | ||
"./*": { | ||
"import": "./esm/*.js", | ||
"require": "./cjs/*.js" | ||
}, | ||
"./cjs": { | ||
"require": "./cjs/index.js" | ||
}, | ||
"./cjs/*": { | ||
"require": "./cjs/*.js" | ||
}, | ||
"./esm/*": { | ||
"import": "./esm/*.js" | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"homepage": "https://github.com/sqids/sqids-javascript#readme" | ||
"main": "cjs/index.js", | ||
"unpkg": "dist/sqids.js", | ||
"module": "esm/sqids.js", | ||
"source": "src/sqids.ts", | ||
"files": [ | ||
"cjs", | ||
"esm", | ||
"dist", | ||
"lib", | ||
"src" | ||
], | ||
"scripts": { | ||
"benchmark": "yarn ts-node -O '{\"module\": \"commonjs\"}' -T src/tests/benchmark", | ||
"postinstallDev": "yarn prepare", | ||
"prepare": "rrun husky install .config/husky && yarn beemo create-config", | ||
"build": "yarn build:cjs && yarn build:esm && yarn build:umd", | ||
"release": "beemo run-script release", | ||
"build:cjs": "yarn rrun tsc --outDir cjs --module commonjs --target es6 -p tsconfig.build.json", | ||
"build:esm": "yarn rrun tsc --outDir esm --module esnext --target es6 -p tsconfig.build.json && ./add-extension.sh", | ||
"build:umd": "beemo webpack --entry=./src/sqids.ts --env 'outDir=dist' --env 'moduleTarget=umd' --env 'engineTarget=web' --env 'codeTarget=es6' --env 'name=Sqids' --env 'export=default' --env 'filename=sqids.js'", | ||
"clean": "git clean -dfX --exclude=node_modules src && beemo typescript:sync-project-refs", | ||
"test:lint": "rrun eslint 'src/**'", | ||
"test:code": "beemo jest", | ||
"test:types": "yarn rrun tsc --noEmit", | ||
"test:format": "yarn rrun prettier --check \"./{src,tests}/**/*[!.d].{.js,jsx,ts,tsx,json,md}\"", | ||
"test": "yarn test:format && yarn test:types && yarn test:lint && yarn test:code", | ||
"format": "yarn rrun prettier --write \"./{src,tests}/**/!(*.d).{.js,jsx,ts,tsx,json,md}\"" | ||
}, | ||
"browserslist": [ | ||
"last 2 version", | ||
"> 0.5%", | ||
"maintained node versions", | ||
"not dead" | ||
], | ||
"devDependencies": { | ||
"@niieani/scaffold": "^1.7.3", | ||
"nodemark": "^0.3.0", | ||
"require-from-web": "^1.2.0", | ||
"ts-node": "^10.9.1" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"release": { | ||
"branches": [ | ||
"+([0-9])?(.{+([0-9]),x}).x", | ||
"master", | ||
{ | ||
"name": "main", | ||
"channel": false | ||
}, | ||
"next", | ||
{ | ||
"name": "beta", | ||
"prerelease": true | ||
}, | ||
{ | ||
"name": "alpha", | ||
"prerelease": true | ||
} | ||
] | ||
}, | ||
"packageManager": "yarn@3.6.1" | ||
} |
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
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
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
147613
19
3842
0
1
0
84
4