Projekt

Obecné

Profil

Stáhnout (1.65 KB) Statistiky
| Větev: | Revize:
1
{
2
  "name": "tiny-invariant",
3
  "version": "1.1.0",
4
  "keywords": [
5
    "invariant",
6
    "error"
7
  ],
8
  "description": "A tiny invariant function",
9
  "main": "dist/tiny-invariant.cjs.js",
10
  "module": "dist/tiny-invariant.esm.js",
11
  "types": "dist/tiny-invariant.d.ts",
12
  "sideEffects": false,
13
  "files": [
14
    "/dist",
15
    "/src"
16
  ],
17
  "author": "Alex Reardon <alexreardon@gmail.com>",
18
  "repository": {
19
    "type": "git",
20
    "url": "https://github.com/alexreardon/tiny-invariant.git"
21
  },
22
  "bugs": {
23
    "url": "https://github.com/alexreardon/tiny-invariant/issues"
24
  },
25
  "license": "MIT",
26
  "scripts": {
27
    "test": "yarn jest",
28
    "lint": "yarn prettier:check",
29
    "prettier:write": "yarn prettier --debug-check src/** test/**",
30
    "prettier:check": "yarn prettier --write src/** test/**",
31
    "typecheck": "yarn tsc --noEmit src/*.ts test/*.ts",
32
    "validate": "yarn lint && yarn typecheck",
33
    "build:clean": "rimraf dist",
34
    "build:flow": "cp src/tiny-invariant.js.flow dist/tiny-invariant.cjs.js.flow",
35
    "build:typescript": "tsc ./src/tiny-invariant.ts --emitDeclarationOnly --declaration --outDir ./dist",
36
    "build:dist": "yarn rollup --config rollup.config.js",
37
    "build": "yarn build:clean && yarn build:dist && yarn build:typescript",
38
    "prepublishOnly": "yarn build"
39
  },
40
  "devDependencies": {
41
    "@rollup/plugin-replace": "^2.3.0",
42
    "@rollup/plugin-typescript": "^3.0.0",
43
    "@types/jest": "^25.1.0",
44
    "jest": "^25.1.0",
45
    "prettier": "^1.19.1",
46
    "rimraf": "^3.0.1",
47
    "rollup": "^1.30.1",
48
    "rollup-plugin-terser": "^5.2.0",
49
    "ts-expect": "^1.1.0",
50
    "ts-jest": "^25.0.0",
51
    "tslib": "^1.10.0",
52
    "typescript": "^3.7.5"
53
  }
54
}
(3-3/3)