@tv2media/command-transpiler
Advanced tools
Comparing version 1.0.3 to 1.2.2
{ | ||
"name": "@tv2media/command-transpiler", | ||
"version": "1.0.3", | ||
"version": "1.2.2", | ||
"description": "Transpiles commands from one protocol to another.", | ||
"main": "lib/index.js", | ||
"types": "lib/index.d.ts", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"author": { | ||
@@ -13,11 +13,10 @@ "name": "Anders Frederik Jørgensen", | ||
"scripts": { | ||
"prepare": "tsc --build", | ||
"bundle": "npm pack", | ||
"release": "standard-version", | ||
"test": "jest __tests__", | ||
"test:unit": "jest --verbose __tests__/unit", | ||
"test:domain": "jest --verbose __tests__/domain" | ||
"build": "tsc --build", | ||
"bundle": "yarn build && npm pack", | ||
"test": "jest --coverage=true __tests__", | ||
"test:unit": "jest --coverage=true --verbose __tests__/unit", | ||
"test:domain": "jest --coverage=true --verbose __tests__/domain" | ||
}, | ||
"files": [ | ||
"lib" | ||
"dist" | ||
], | ||
@@ -28,6 +27,6 @@ "devDependencies": { | ||
"jest": "^27.0.6", | ||
"standard-version": "^9.3.1", | ||
"ts-jest": "^27.0.4", | ||
"typescript": "^4.3.5" | ||
} | ||
}, | ||
"dependencies": {} | ||
} |
@@ -9,9 +9,9 @@ # Command Transpiler | ||
Pattern: `ADD #{ number : amount }` | ||
Template: `PLUS #{ amount }` | ||
Example: `ADD 5` => `PLUS 5` | ||
Pattern: `ADD #{ number : amount }` | ||
Template: `PLUS #{ amount }` | ||
Example: `ADD 5` => `PLUS 5` | ||
Pattern: `ADDINC #{ number : amount | toInteger | inc 1 }` | ||
Template: `PLUS #{ amount }` | ||
Example: `ADDINC 5` => `PLUS 6` | ||
Pattern: `ADDINC #{ number : amount | toInteger | inc 1 }` | ||
Template: `PLUS #{ amount }` | ||
Example: `ADDINC 5` => `PLUS 6` | ||
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
63789
5
88
1546
1