UNPKG

1.67 kBJSONView Raw
1{
2 "name": "@olegjs/on-change",
3 "version": "3.0.1",
4 "description": "CLI tool to run a command if file has changed since the last time that command was run",
5 "keywords": [
6 "CLI",
7 "auto",
8 "automate",
9 "branch",
10 "change",
11 "checksum",
12 "command",
13 "dev",
14 "development",
15 "file",
16 "git",
17 "install",
18 "modules",
19 "npm",
20 "package-lock",
21 "packages",
22 "script",
23 "sha",
24 "switch",
25 "tool"
26 ],
27 "repository": "github:olegjs/on-change",
28 "license": "ISC",
29 "author": "Oleg",
30 "main": "./src/cli.js",
31 "bin": {
32 "on-change": "./src/cli.js"
33 },
34 "files": [
35 "src/*.js",
36 "!src/*.test.js"
37 ],
38 "scripts": {
39 "coverage": "nyc npm test",
40 "coveralls": "nyc report --reporter=text-lcov | coveralls",
41 "lint": "eslint ./src/",
42 "prepublishOnly": "npm run lint && npm run coverage",
43 "report": "nyc report --reporter=lcovonly",
44 "start": "node src/cli.js",
45 "test": "node test.js"
46 },
47 "prettier": {
48 "proseWrap": "always",
49 "semi": false,
50 "singleQuote": true,
51 "trailingComma": "all"
52 },
53 "eslintConfig": {
54 "env": {
55 "node": true
56 },
57 "parserOptions": {
58 "ecmaVersion": 2017
59 },
60 "extends": [
61 "eslint:recommended",
62 "prettier"
63 ]
64 },
65 "nyc": {
66 "branches": 100,
67 "check-coverage": true,
68 "functions": 100,
69 "lines": 100,
70 "reporter": [
71 "text"
72 ],
73 "statements": 100
74 },
75 "dependencies": {
76 "chalk": "^4.1.1",
77 "yargs": "^17.0.1"
78 },
79 "devDependencies": {
80 "coveralls": "^3.1.0",
81 "eslint": "^8.6.0",
82 "eslint-config-prettier": "^8.3.0",
83 "nyc": "^15.1.0"
84 }
85}