You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
91 lines
2.8 KiB
91 lines
2.8 KiB
{
|
|
"_from": "tiny-invariant@^1.0.2",
|
|
"_id": "tiny-invariant@1.1.0",
|
|
"_inBundle": false,
|
|
"_integrity": "sha1-Y0xfjv3CdxS384bDXmdgmR0jCHU=",
|
|
"_location": "/tiny-invariant",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"type": "range",
|
|
"registry": true,
|
|
"raw": "tiny-invariant@^1.0.2",
|
|
"name": "tiny-invariant",
|
|
"escapedName": "tiny-invariant",
|
|
"rawSpec": "^1.0.2",
|
|
"saveSpec": null,
|
|
"fetchSpec": "^1.0.2"
|
|
},
|
|
"_requiredBy": [
|
|
"/@umijs/preset-built-in/react-router",
|
|
"/@umijs/preset-built-in/react-router-dom",
|
|
"/@umijs/runtime/react-router",
|
|
"/@umijs/runtime/react-router-dom",
|
|
"/history",
|
|
"/history-with-query",
|
|
"/react-router",
|
|
"/react-router-dom"
|
|
],
|
|
"_resolved": "https://registry.npm.taobao.org/tiny-invariant/download/tiny-invariant-1.1.0.tgz",
|
|
"_shasum": "634c5f8efdc27714b7f386c35e6760991d230875",
|
|
"_spec": "tiny-invariant@^1.0.2",
|
|
"_where": "/Users/zq/Desktop/hngs/node_modules/history",
|
|
"author": {
|
|
"name": "Alex Reardon",
|
|
"email": "alexreardon@gmail.com"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/alexreardon/tiny-invariant/issues"
|
|
},
|
|
"bundleDependencies": false,
|
|
"deprecated": false,
|
|
"description": "A tiny invariant function",
|
|
"devDependencies": {
|
|
"@rollup/plugin-replace": "^2.3.0",
|
|
"@rollup/plugin-typescript": "^3.0.0",
|
|
"@types/jest": "^25.1.0",
|
|
"jest": "^25.1.0",
|
|
"prettier": "^1.19.1",
|
|
"rimraf": "^3.0.1",
|
|
"rollup": "^1.30.1",
|
|
"rollup-plugin-terser": "^5.2.0",
|
|
"ts-expect": "^1.1.0",
|
|
"ts-jest": "^25.0.0",
|
|
"tslib": "^1.10.0",
|
|
"typescript": "^3.7.5"
|
|
},
|
|
"files": [
|
|
"/dist",
|
|
"/src"
|
|
],
|
|
"homepage": "https://github.com/alexreardon/tiny-invariant#readme",
|
|
"keywords": [
|
|
"invariant",
|
|
"error"
|
|
],
|
|
"license": "MIT",
|
|
"main": "dist/tiny-invariant.cjs.js",
|
|
"module": "dist/tiny-invariant.esm.js",
|
|
"name": "tiny-invariant",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/alexreardon/tiny-invariant.git"
|
|
},
|
|
"scripts": {
|
|
"build": "yarn build:clean && yarn build:dist && yarn build:typescript",
|
|
"build:clean": "rimraf dist",
|
|
"build:dist": "yarn rollup --config rollup.config.js",
|
|
"build:flow": "cp src/tiny-invariant.js.flow dist/tiny-invariant.cjs.js.flow",
|
|
"build:typescript": "tsc ./src/tiny-invariant.ts --emitDeclarationOnly --declaration --outDir ./dist",
|
|
"lint": "yarn prettier:check",
|
|
"prepublishOnly": "yarn build",
|
|
"prettier:check": "yarn prettier --write src/** test/**",
|
|
"prettier:write": "yarn prettier --debug-check src/** test/**",
|
|
"test": "yarn jest",
|
|
"typecheck": "yarn tsc --noEmit src/*.ts test/*.ts",
|
|
"validate": "yarn lint && yarn typecheck"
|
|
},
|
|
"sideEffects": false,
|
|
"types": "dist/tiny-invariant.d.ts",
|
|
"version": "1.1.0"
|
|
}
|