Blame view

天文台pc/tianwentai-ui/node_modules/get-nonce/package.json 1.67 KB
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
  {
    "name": "get-nonce",
    "version": "1.0.1",
    "description": "returns nonce",
    "main": "dist/es5/index.js",
    "types": "dist/es5/index.d.ts",
    "sideEffects": false,
    "repository": "git@github.com:theKashey/get-nonce.git",
    "homepage": "https://github.com/theKashey/get-nonce",
    "author": "Anton Korzunov <thekashey@gmail.com>",
    "license": "MIT",
    "keywords": [
      "webpack",
      "nonce",
      "__webpack_nonce__"
    ],
    "devDependencies": {
      "@theuiteam/lib-builder": "^0.0.10",
      "@size-limit/preset-small-lib": "^2.1.6"
    },
    "module": "dist/es2015/index.js",
    "engines": {
      "node": ">=6"
    },
    "scripts": {
      "dev": "lib-builder dev",
      "test": "jest",
      "test:ci": "jest --runInBand --coverage",
      "build": "lib-builder build && yarn size:report",
      "release": "yarn build && yarn test",
      "size": "npx size-limit",
      "size:report": "npx size-limit --json > .size.json",
      "lint": "lib-builder lint",
      "format": "lib-builder format",
      "update": "lib-builder update",
      "docz:dev": "docz dev",
      "docz:build": "docz build",
      "prepublish": "yarn build && yarn changelog",
      "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
      "changelog:rewrite": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0"
    },
    "files": [
      "dist"
    ],
    "husky": {
      "hooks": {
        "pre-commit": "lint-staged"
      }
    },
    "lint-staged": {
      "*.{ts,tsx}": [
        "prettier --write",
        "tslint --fix",
        "git add"
      ],
      "*.{js,css,json,md}": [
        "prettier --write",
        "git add"
      ]
    },
    "prettier": {
      "printWidth": 120,
      "trailingComma": "es5",
      "tabWidth": 2,
      "semi": true,
      "singleQuote": true
    }
  }