ilib-assemble
Advanced tools
Comparing version 1.2.0 to 1.2.1
{ | ||
"name": "ilib-assemble", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"main": "./src/index.js", | ||
@@ -52,26 +52,28 @@ "type": "module", | ||
"dist": "npm pack", | ||
"test": "LANG=en_US.UTF8 node test/testSuite.js", | ||
"debug": "node --inspect-brk test/testSuite.js", | ||
"clean": "git clean -f -d *", | ||
"test": "npm-run-all test:cli", | ||
"test:cli": "LANG=en_US.UTF8 node --experimental-vm-modules node_modules/.bin/jest --testEnvironment node", | ||
"test:watch": "LANG=en_US.UTF8 node --experimental-vm-modules node_modules/.bin/jest --testEnvironment node --watch", | ||
"debug": "node --experimental-vm-modules --inspect-brk node_modules/.bin/jest --testEnvironment node -i", | ||
"clean": "git clean -f -d src test ; rm -rf lib *.tgz", | ||
"doc": "mkdir -p docs ; jsdoc2md -c jsdoc.json --separators --source src/*.js -m table > docs/ilibAssemble.md ; npm run doc:html", | ||
"doc:html": "jsdoc -c jsdoc.json" | ||
}, | ||
"engines": { | ||
"node": ">=16.0" | ||
}, | ||
"devDependencies": { | ||
"assertextras": "^1.1.0", | ||
"docdash": "^1.2.0", | ||
"docdash": "^2.0.2", | ||
"ilib-mock": "file:test/ilib-mock/ilib-mock-1.0.0.tgz", | ||
"jsdoc": "^3.6.11", | ||
"jsdoc-to-markdown": "^7.1.1", | ||
"nodeunit": "^0.11.3" | ||
"jest": "^29.7.0", | ||
"jsdoc": "^4.0.2", | ||
"jsdoc-to-markdown": "^8.0.0", | ||
"npm-run-all": "^4.1.5" | ||
}, | ||
"engines": { | ||
"node": ">=16.0" | ||
}, | ||
"dependencies": { | ||
"ilib-common": "^1.1.3", | ||
"ilib-locale": "^1.2.2", | ||
"json5": "^2.2.1", | ||
"mkdirp": "^1.0.4", | ||
"json5": "^2.2.3", | ||
"mkdirp": "^3.0.1", | ||
"options-parser": "^0.4.0" | ||
} | ||
} |
@@ -104,3 +104,4 @@ # ilib-assemble | ||
- --format or -f. Specify the format of the output files. This can be one of: | ||
* --compressed or -c. The data should appear in compressed/minified form | ||
* --format or -f. Specify the format of the output files. This can be one of: | ||
- json: the output files should be written in plain json form | ||
@@ -111,5 +112,19 @@ - js: the output should be written as an ESM module that exports a | ||
exports function which returns the locale data for that locale | ||
- --compressed or -c. The data should appear in compressed/minified form | ||
- --locales or -l. A comma separated list of locale specifiers in BCP-47 format | ||
for the locales that your app supports. | ||
* --locales or -l. A comma separated list of locale specifiers in BCP-47 format | ||
for the locales that your app supports. | ||
* --localefile or -x. Name a json file that contains an array that lists the | ||
locales you want your webapp to support. The json should contain a `locales` | ||
property which is an array of BCP-47 style locale tags. No default. | ||
* --module or -m. Explicitly add the locale data for a module that is not otherwise | ||
mentioned in the source code. Parameter gives a relative path to the module, | ||
including the leading './'. Typically, this would be in ./node_modules, but | ||
it could be anywhere on disk. This option may be specified multiple times, | ||
once for each module to add. The value is the name of the module to add. | ||
--quiet or -q. Produce no progress output during the run, except for error messages. | ||
* --resources or -r. Include translated resource files, usually the output from | ||
in the output files such that they can be loaded with ilib-resbundle. The | ||
resource files should come from ilib's [loctool](http://github.com/ilib-js/loctool) | ||
or other such localization tool which produces a set of translated resource | ||
files. VAL is the path to the root of a resource file tree. You can specify | ||
this option multiple times, once for each resources directory. | ||
@@ -116,0 +131,0 @@ The output-dir is required and specifies the directory where the output is |
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
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
44417
226
0
+ Addedmkdirp@3.0.1(transitive)
- Removedmkdirp@1.0.4(transitive)
Updatedjson5@^2.2.3
Updatedmkdirp@^3.0.1