@allthings/react-intl-extract-messages
Advanced tools
Comparing version 0.2.0 to 0.3.0
{ | ||
"name": "@allthings/react-intl-extract-messages", | ||
"version": "0.2.0", | ||
"bin": "cli.js", | ||
"main": "index.js", | ||
"version": "0.3.0", | ||
"bin": "dist/cli.js", | ||
"main": "dist/index.js", | ||
"license": "MIT", | ||
"files": [ | ||
"dist" | ||
], | ||
"engines": { | ||
"node": ">=8" | ||
"node": ">=8", | ||
"yarn": ">=1" | ||
}, | ||
@@ -21,6 +25,24 @@ "repository": "https://github.com/allthings/react-intl-extract-messages", | ||
"devDependencies": { | ||
"prettier": "1.15.2" | ||
"@types/babel__core": "7.0.2", | ||
"@types/babel__generator": "7.0.1", | ||
"@types/babel__template": "7.0.1", | ||
"@types/babel__traverse": "7.0.1", | ||
"@types/glob": "7.1.1", | ||
"@types/jest": "23.3.9", | ||
"@types/minimist": "1.2.0", | ||
"@types/node": "10.12.9", | ||
"@types/tmp": "0.0.33", | ||
"jest": "23.6.0", | ||
"prettier": "1.15.2", | ||
"rimraf": "2.6.2", | ||
"ts-jest": "23.10.4", | ||
"typescript": "3.1.6" | ||
}, | ||
"scripts": { | ||
"postversion": "git push origin master --follow-tags && npm publish" | ||
"postversion": "git push origin master --follow-tags && npm publish", | ||
"pretest": "cd test/fixture-project && yarn --frozen-lockfile", | ||
"test": "jest --coverage", | ||
"prepublishOnly": "yarn build", | ||
"prebuild": "rimraf dist", | ||
"build": "tsc -p tsconfig.json" | ||
}, | ||
@@ -30,4 +52,8 @@ "prettier": { | ||
"singleQuote": true, | ||
"trailingComma": "es5" | ||
"trailingComma": "all" | ||
}, | ||
"jest": { | ||
"preset": "ts-jest", | ||
"testEnvironment": "node" | ||
} | ||
} |
@@ -0,1 +1,3 @@ | ||
[![Build Status](https://travis-ci.org/allthings/react-intl-extract-messages.svg?branch=master)](https://travis-ci.org/allthings/react-intl-extract-messages) | ||
# react-intl-extract-messages | ||
@@ -21,3 +23,3 @@ | ||
Type: `string` | ||
Type: `string` | ||
@@ -61,4 +63,6 @@ Can be absolute or relative path to the tsconfig file, all information how to build the project is taken from there. | ||
## @todo | ||
## Tests | ||
Tests | ||
Run tests with `yarn run test`. | ||
This will extract messages from a fixture project and check it against a snapshot. |
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
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
67
7462
14
7
85
2