UNPKG

1.63 kBJSONView Raw
1{
2 "name": "@olegjs/on-change",
3 "version": "1.2.0",
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": "https://github.com/olegjs/on-change",
28 "license": "ISC",
29 "author": "Oleg",
30 "files": [
31 "src/*.js",
32 "!src/*.test.js"
33 ],
34 "main": "./src/cli.js",
35 "bin": {
36 "on-change": "./src/cli.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 "test": "node test.js",
44 "start": "node src/cli.js"
45 },
46 "prettier": {
47 "proseWrap": "always",
48 "semi": false,
49 "singleQuote": true,
50 "trailingComma": "all"
51 },
52 "eslintConfig": {
53 "parserOptions": {
54 "ecmaVersion": 2017
55 },
56 "env": {
57 "node": true
58 },
59 "extends": [
60 "eslint:recommended",
61 "prettier"
62 ]
63 },
64 "dependencies": {
65 "chalk": "^3.0.0",
66 "yargs": "^15.1.0"
67 },
68 "devDependencies": {
69 "coveralls": "^3.0.9",
70 "eslint": "^6.8.0",
71 "eslint-config-prettier": "^6.9.0",
72 "nyc": "^15.0.0"
73 },
74 "nyc": {
75 "check-coverage": true,
76 "reporter": [
77 "text"
78 ],
79 "branches": 100,
80 "lines": 100,
81 "functions": 100,
82 "statements": 100
83 }
84}