๐Ÿ“ฆ antongolub / glob-runner

๐Ÿ“„ package.json ยท 74 lines
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
69
70
71
72
73
74{
  "name": "glob-runner",
  "version": "2.1.1",
  "description": "Tiny helper to search and exec js files by glob pattern with optional Node.js version restrictions",
  "type": "module",
  "main": "./target/js/index.cjs",
  "exports": {
    ".": {
      "types": "./target/dts/index.d.ts",
      "import": "./target/js/index.mjs",
      "require": "./target/js/index.cjs",
      "default": "./target/js/index.cjs"
    }
  },
  "bin": {
    "glob-runner": "./target/js/run.cjs"
  },
  "types": "./target/dts/index.d.ts",
  "typescript": {
    "definition": "./target/dts/index.d.ts"
  },
  "dependencies": {
    "fast-glob": "^3.2.12",
    "semver": "^7.5.1"
  },
  "devDependencies": {
    "c8": "^9.0.0",
    "concurrently": "^8.0.1",
    "cross-env": "^7.0.3",
    "eslint": "^8.40.0",
    "eslint-config-prettier": "^10.0.0",
    "eslint-config-qiwi": "^2.1.3",
    "prettier": "^3.0.0",
    "prettier-config-qiwi": "^3.0.0"
  },
  "engines": {
    "node": ">=10"
  },
  "files": [
    "README.md",
    "CHANGELOG.md",
    "target/dts",
    "target/js",
    "buildstamp.json"
  ],
  "scripts": {
    "format": "yarn test:lint --fix && prettier --write \"src/**/*.{cjs,mjs,js}\"",
    "test": "concurrently 'npm:test:*'",
    "test:lint": "eslint -c src/test/lint/.eslintrc.cjs src/**/*.{cjs,mjs,js}",
    "test:unit": "c8 -r lcov -r text -o target/coverage node --experimental-specifier-resolution=node ./src/test/js/index.test.js",
    "test:it": "node src/main/js/run.cjs src/test/fixtures/*.it.js",
    "build": "concurrently 'npm:build:*'",
    "build:dts": "mkdir -p ./target/dts && cp -R src/main/ts/. target/dts/.",
    "build:js": "mkdir -p ./target/js && cp -R src/main/js/. target/js/.",
    "build:docs": "mkdir -p ./target/docs && cp ./README.md ./target/docs/README.md"
  },
  "prettier": "prettier-config-qiwi",
  "keywords": [
    "glob",
    "exec",
    "run"
  ],
  "author": "Anton Golub <antongolub@antongolub.com>",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/antongolub/glob-runner"
  },
  "bugs": {
    "url": "https://github.com/antongolub/glob-runner/issues"
  },
  "homepage": "https://github.com/antongolub/glob-runner#readme",
  "license": "MIT"
}