UNPKG

3.64 kBJSONView Raw
1{
2 "name": "veeder-root-tls",
3 "version": "3.3.0",
4 "description": "Biblioteca para comunicação com medidores eletrônicos Veeder Root.",
5 "main": "build/main/index.js",
6 "typings": "build/main/index.d.ts",
7 "module": "build/module/index.js",
8 "repository": "https://github.com/iShi0n/veeder-root-tls",
9 "license": "MIT",
10 "keywords": [
11 "automation",
12 "socket",
13 "veeder-root",
14 "iot",
15 "inventory",
16 "fuel",
17 "management"
18 ],
19 "scripts": {
20 "build": "run-p build:*",
21 "build:main": "tsc -p tsconfig.json",
22 "build:module": "tsc -p tsconfig.module.json",
23 "fix": "run-s fix:*",
24 "fix:prettier": "prettier \"src/**/*.ts\" --write",
25 "fix:lint": "eslint src --ext .ts --fix",
26 "test": "run-s build test:*",
27 "test:lint": "eslint src --ext .ts",
28 "test:prettier": "prettier \"src/**/*.ts\" --list-different",
29 "test:unit": "nyc --silent ava",
30 "check-cli": "run-s test diff-integration-tests check-integration-tests",
31 "check-integration-tests": "run-s check-integration-test:*",
32 "diff-integration-tests": "mkdir -p diff && rm -rf diff/test && cp -r test diff/test && rm -rf diff/test/test-*/.git && cd diff && git init --quiet && git add -A && git commit --quiet --no-verify --allow-empty -m 'WIP' && echo '\\n\\nCommitted most recent integration test output in the \"diff\" directory. Review the changes with \"cd diff && git diff HEAD\" or your preferred git diff viewer.'",
33 "watch:build": "tsc -p tsconfig.json -w",
34 "watch:test": "nyc --silent ava --watch",
35 "cov": "run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html",
36 "cov:html": "nyc report --reporter=html",
37 "cov:lcov": "nyc report --reporter=lcov",
38 "cov:send": "run-s cov:lcov && codecov",
39 "cov:check": "nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100",
40 "doc": "run-s doc:html && open-cli build/docs/index.html",
41 "doc:html": "typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --out build/docs",
42 "doc:json": "typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --json build/docs/typedoc.json",
43 "doc:publish": "gh-pages -m \"[ci skip] Updates\" -d build/docs",
44 "version": "standard-version",
45 "reset-hard": "git clean -dfx && git reset --hard && yarn",
46 "prepare-release": "run-s reset-hard test cov:check doc:html version doc:publish"
47 },
48 "engines": {
49 "node": ">=10"
50 },
51 "dependencies": {},
52 "devDependencies": {
53 "@ava/typescript": "^1.1.1",
54 "@typescript-eslint/eslint-plugin": "^4.0.1",
55 "@typescript-eslint/parser": "^4.0.1",
56 "ava": "^3.12.1",
57 "codecov": "^3.5.0",
58 "cz-conventional-changelog": "^3.3.0",
59 "eslint": "^7.8.0",
60 "eslint-config-prettier": "^6.11.0",
61 "eslint-plugin-eslint-comments": "^3.2.0",
62 "eslint-plugin-import": "^2.22.0",
63 "npm-run-all": "^4.1.5",
64 "prettier": "^2.1.1",
65 "ts-node": "^9.0.0",
66 "typescript": "^4.0.2"
67 },
68 "files": [
69 "build/main",
70 "build/module",
71 "!**/*.spec.*",
72 "!**/*.json",
73 "CHANGELOG.md",
74 "LICENSE",
75 "README.md"
76 ],
77 "ava": {
78 "failFast": true,
79 "timeout": "60s",
80 "typescript": {
81 "rewritePaths": {
82 "src/": "build/main/"
83 }
84 },
85 "files": [
86 "!build/module/**"
87 ]
88 },
89 "config": {
90 "commitizen": {
91 "path": "cz-conventional-changelog"
92 }
93 },
94 "prettier": {
95 "singleQuote": true
96 },
97 "nyc": {
98 "extends": "@istanbuljs/nyc-config-typescript",
99 "exclude": [
100 "**/*.spec.js"
101 ]
102 }
103}