get-price-tag
Advanced tools
Comparing version 0.0.3 to 0.0.4
{ | ||
"name": "get-price-tag", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"main": "dist/commonjs/index.js", | ||
@@ -8,29 +8,30 @@ "types": "dist/index.d.ts", | ||
"scripts": { | ||
"start": "tsc --watch", | ||
"build": "rimraf ./dist && tsc -p ./tsconfig.json && tsc -p ./tsconfig.commonjs.json", | ||
"postinstall": "node ./scripts/getProjectData.js", | ||
"test:coverage": "jest --coverage --colors --detectOpenHandles --forceExit", | ||
"test": "jest --colors --detectOpenHandles --runInBand --forceExit", | ||
"test:watch": "jest --coverage --colors --watchAll" | ||
"start": "tsc --watch", | ||
"build": "rimraf ./dist && tsc -p ./tsconfig.json && tsc -p ./tsconfig.commonjs.json", | ||
"postinstall": "node ./scripts/getProjectData.js", | ||
"test:coverage": "jest --coverage --colors --detectOpenHandles --forceExit", | ||
"test": "jest --colors --detectOpenHandles --runInBand --forceExit", | ||
"test:watch": "jest --coverage --colors --watchAll" | ||
}, | ||
"author": { | ||
"email": "devdesignrt@gmail.com", | ||
"name": "DevDesing", | ||
"url": "https://www.devdesign.fi" | ||
"email": "devdesignrt@gmail.com", | ||
"name": "DevDesing", | ||
"url": "https://www.devdesign.fi" | ||
}, | ||
"engines": { | ||
"node": ">=16.*", | ||
"yarn": ">=1.*" | ||
"node": ">=16.*", | ||
"yarn": ">=1.*" | ||
}, | ||
"license": "MIT", | ||
"dependencies": { | ||
"rimraf": "3.0.2", | ||
"typescript": "4.6.3" | ||
"node-fetch": "3.2.6", | ||
"rimraf": "3.0.2", | ||
"typescript": "4.6.3" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "27.4.1", | ||
"@types/uuid": "8.3.4", | ||
"jest": "27.5.1", | ||
"ts-jest": "27.1.4" | ||
"@types/jest": "27.4.1", | ||
"@types/uuid": "8.3.4", | ||
"jest": "27.5.1", | ||
"ts-jest": "27.1.4" | ||
} | ||
} |
@@ -1,3 +0,5 @@ | ||
async function postComponent() { | ||
await fetch("https://stats.api.voca.teliacompany.com/components", { | ||
const fetch = require('node-fetch'); | ||
function postComponent() { | ||
fetch("https://stats.api.voca.teliacompany.com/components", { | ||
method: "POST", | ||
@@ -7,3 +9,3 @@ body: JSON.stringify({ | ||
voca_project: "testing-postinstall", | ||
country: "Finland", | ||
voca_country: "Finland", | ||
}), | ||
@@ -10,0 +12,0 @@ }) |
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
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
5983
113
3
+ Addednode-fetch@3.2.6
+ Addeddata-uri-to-buffer@4.0.1(transitive)
+ Addedfetch-blob@3.2.0(transitive)
+ Addedformdata-polyfill@4.0.10(transitive)
+ Addednode-domexception@1.0.0(transitive)
+ Addednode-fetch@3.2.6(transitive)
+ Addedweb-streams-polyfill@3.3.3(transitive)