1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- {
- "_from": "tiny-invariant@^1.0.2",
- "_id": "tiny-invariant@1.1.0",
- "_inBundle": false,
- "_integrity": "sha512-ytxQvrb1cPc9WBEI/HSeYYoGD0kWnGEOR8RY6KomWLBVhqz0RgTwVO9dLrGz7dC+nN9llyI7OKAgRq8Vq4ZBSw==",
- "_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": [
- "/react-router",
- "/react-router-dom",
- "/react-router-dom/history",
- "/react-router/history"
- ],
- "_resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.1.0.tgz",
- "_shasum": "634c5f8efdc27714b7f386c35e6760991d230875",
- "_spec": "tiny-invariant@^1.0.2",
- "_where": "E:\\a-level\\project_js2\\node_modules\\react-router-dom",
- "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"
- }
|