@prosopo/datasets-fs 0.2.17 → 0.2.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +3 -4
  2. package/package.json +10 -6
package/README.md CHANGED
@@ -83,10 +83,10 @@ Commands:
83
83
  1. 'scale' rescales images in a flat directory structure to a given size.
84
84
  e.g. `npm run -w @prosopo/datasets-fs build && node packages/datasets-fs/dist/cli.js scale --data ~/bench/test/flat/data.json --out ~/bench/test/flat/images2 --overwrite --size 128`
85
85
 
86
-
87
-
88
86
  # Generating test data
87
+
89
88
  The test data was generated using:
89
+
90
90
  ```
91
91
  cli generate-v1 --min-correct 1 --max-correct 6 --labelled $PWD/src/tests/data/flat_resized/data.json --unlabelled $PWD/src/tests/data/flat_resized/data.json --out $PWD/src/tests/data/flat_resized/captchas_v1.json --solved 50 --unsolved 50 --seed 0 --allowDuplicates --seed 0
92
92
 
@@ -101,5 +101,4 @@ cli flatten --in $PWD/src/tests/data/hierarchical --out $PWD/src/tests/data/flat
101
101
  cli resize --square --size 128 --in $PWD/src/tests/data/flat/data.json --out $PWD/src/tests/data/flat_resized --overwrite
102
102
  ```
103
103
 
104
-
105
- `cli` is an alias to `npm run build && npm run cli --`
104
+ `cli` is an alias to `npm run build && npm run cli --`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prosopo/datasets-fs",
3
- "version": "0.2.17",
3
+ "version": "0.2.19",
4
4
  "author": "PROSOPO LIMITED <info@prosopo.io>",
5
5
  "license": "Apache-2.0",
6
6
  "private": false,
@@ -12,8 +12,12 @@
12
12
  "clean": "tsc --build --clean",
13
13
  "build": "tsc --build --verbose tsconfig.json",
14
14
  "build:cjs": "npx vite --config vite.cjs.config.ts build",
15
- "lint": "npx eslint .",
16
- "lint:fix": "npx eslint . --fix --config ../../.eslintrc.js",
15
+ "eslint": "npx eslint . --no-error-on-unmatched-pattern --ignore-path ../../.eslintignore",
16
+ "eslint:fix": "npm run eslint -- --fix",
17
+ "prettier": "npx prettier . --check --no-error-on-unmatched-pattern --ignore-path ../../.eslintignore",
18
+ "prettier:fix": "npm run prettier -- --write",
19
+ "lint": "npm run eslint && npm run prettier",
20
+ "lint:fix": "npm run eslint:fix && npm run prettier:fix",
17
21
  "cli": "node ./dist/cli.js",
18
22
  "test": "NODE_ENV=test vitest --run --coverage"
19
23
  },
@@ -28,9 +32,9 @@
28
32
  "types": "./dist/index.d.ts",
29
33
  "dependencies": {
30
34
  "@polkadot/util": "^12.3.2",
31
- "@prosopo/common": "0.2.17",
32
- "@prosopo/types": "0.2.17",
33
- "@prosopo/util": "0.2.17",
35
+ "@prosopo/common": "0.2.19",
36
+ "@prosopo/types": "0.2.19",
37
+ "@prosopo/util": "0.2.19",
34
38
  "bcrypt": "^5.1.0",
35
39
  "cli-progress": "^3.12.0",
36
40
  "fs": "^0.0.1-security",