|
1 | 1 | {
|
2 | 2 | "name": "zadeh",
|
3 |
| - "author": "Amin Yahyaabadi, Rajendran T", |
4 |
| - "homepage": "https://github.com/atom-ide-community/zadeh", |
5 | 3 | "version": "3.0.0-beta.4",
|
6 | 4 | "description": "Blazing fast library for fuzzy filtering, matching, and other fuzzy things!",
|
| 5 | + "homepage": "https://github.com/atom-ide-community/zadeh", |
| 6 | + "bugs": { |
| 7 | + "url": "https://github.com/atom-ide-community/zadeh/issues" |
| 8 | + }, |
| 9 | + "repository": { |
| 10 | + "type": "git", |
| 11 | + "url": "https://github.com/atom-ide-community/zadeh.git" |
| 12 | + }, |
| 13 | + "license": "MIT", |
| 14 | + "author": "Amin Yahyaabadi, Rajendran T", |
7 | 15 | "main": "./index.js",
|
8 |
| - "node": "./index.js", |
9 | 16 | "source": "./src/binding/index.ts",
|
| 17 | + "files": [ |
| 18 | + "src", |
| 19 | + "prebuilds", |
| 20 | + "index.*", |
| 21 | + "*.d.ts", |
| 22 | + "binding.gyp" |
| 23 | + ], |
10 | 24 | "scripts": {
|
11 |
| - "format": "prettier --write . && clang-format -i src/*.h src/binding/*.cc src/binding/*.h", |
12 |
| - "test.format": "prettier . --check", |
13 |
| - "lint": "eslint . --fix", |
14 |
| - "test.lint": "eslint .", |
15 |
| - "tidy": "clang-tidy src/*.cc src/*.h", |
16 |
| - "tidy.fix": "clang-tidy src/*.cc src/*.h --fix --fix-errors", |
17 |
| - "clean.native": "shx rm -rf build prebuilds", |
| 25 | + "benchmark": "npm run benchmark.small && npm run benchmark.regular && npm run benchmark.large && npm run benchmark.tree", |
| 26 | + "benchmark.large": "node benchmark/benchmark-large.js", |
| 27 | + "benchmark.regular": "node benchmark/benchmark.js", |
| 28 | + "benchmark.small": "node benchmark/benchmark-small.js", |
| 29 | + "benchmark.tree": "node benchmark/benchmark-tree.js", |
| 30 | + "build": "npm run build.native && npm run build.js", |
| 31 | + "build.js": "npm run types.js && cross-env NODE_ENV=production parcel build --target main ./src/binding/index.ts", |
| 32 | + "prebuild.native": "prebuildify --napi -t 12.0.0 -t [email protected] -t [email protected] --strip --tag-libc", |
18 | 33 | "build.native": "node-gyp configure --release && node-gyp build --release",
|
19 | 34 | "build.native.debug": "node-gyp configure --debug && node-gyp build --debug",
|
20 |
| - "prebuild.native": "prebuildify --napi -t 12.0.0 -t [email protected] -t [email protected] --strip --tag-libc", |
21 |
| - "prebuild.native.ia32": "prebuildify --napi --arch=ia32 -t 12.0.0 -t [email protected] -t [email protected] --strip --tag-libc", |
| 35 | + "bump": "ncu -u && ncu -u /parcel/ --greatest", |
| 36 | + "clean": "npm run clean.native && npm run clean.js", |
22 | 37 | "clean.js": "shx rm -rf dist dist-test .rollup.cache .parcel-cache **/tsconfig.tsbuildinfo ./index.* ./*.d.ts",
|
| 38 | + "clean.native": "shx rm -rf build prebuilds", |
23 | 39 | "dev.js": "npm run types.js && cross-env NODE_ENV=development parcel watch --target main ./src/binding/index.ts",
|
24 |
| - "build.js": "npm run types.js && cross-env NODE_ENV=production parcel build --target main ./src/binding/index.ts", |
25 |
| - "types.js": "tsc -p ./src/binding/tsconfig.json --emitDeclarationOnly && shx mv ./src/binding/*.d.ts .", |
26 |
| - "clean": "npm run clean.native && npm run clean.js", |
| 40 | + "examples.cpp": "cmake -S . -B ./build && cmake --build ./build --config Debug", |
| 41 | + "format": "prettier --write . && clang-format -i src/*.h src/binding/*.cc src/binding/*.h", |
27 | 42 | "install": "node-gyp-build",
|
28 |
| - "build": "npm run build.native && npm run build.js", |
| 43 | + "lint": "eslint . --fix", |
| 44 | + "prebuild.native.ia32": "prebuildify --napi --arch=ia32 -t 12.0.0 -t [email protected] -t [email protected] --strip --tag-libc", |
| 45 | + "prepare": "npm run clean.js && npm run build", |
29 | 46 | "test": "shx rm -rf dist-test && shx cp -r test dist-test && coffee --compile dist-test && shx rm -rf dist-test/*.coffee && jasmine dist-test/*-spec.js",
|
30 |
| - "benchmark.regular": "node benchmark/benchmark.js", |
31 |
| - "benchmark.large": "node benchmark/benchmark-large.js", |
32 |
| - "benchmark.small": "node benchmark/benchmark-small.js", |
33 |
| - "benchmark.tree": "node benchmark/benchmark-tree.js", |
34 |
| - "benchmark": "npm run benchmark.small && npm run benchmark.regular && npm run benchmark.large && npm run benchmark.tree", |
35 |
| - "examples.cpp": "cmake -S . -B ./build && cmake --build ./build --config Debug", |
36 |
| - "bump": "ncu -u && ncu -u /parcel/ --greatest", |
37 |
| - "prepare": "npm run clean.js && npm run build" |
| 47 | + "test.format": "prettier . --check", |
| 48 | + "test.lint": "eslint .", |
| 49 | + "tidy": "clang-tidy src/*.cc src/*.h", |
| 50 | + "tidy.fix": "clang-tidy src/*.cc src/*.h --fix --fix-errors", |
| 51 | + "types.js": "tsc -p ./src/binding/tsconfig.json --emitDeclarationOnly && shx mv ./src/binding/*.d.ts ." |
38 | 52 | },
|
39 | 53 | "prettier": "prettier-config-atomic",
|
40 |
| - "files": [ |
41 |
| - "src", |
42 |
| - "prebuilds", |
43 |
| - "index.*", |
44 |
| - "*.d.ts", |
45 |
| - "binding.gyp" |
46 |
| - ], |
47 |
| - "gypfile": true, |
48 | 54 | "dependencies": {
|
49 | 55 | "node-addon-api": "~4.2.0",
|
50 | 56 | "node-gyp-build": "^4.3.0"
|
51 | 57 | },
|
52 | 58 | "devDependencies": {
|
53 | 59 | "coffeescript": "^2.6.1",
|
54 | 60 | "cross-env": "^7.0.3",
|
55 |
| - "eslint-config-atomic": "^1.16.3", |
| 61 | + "eslint-config-atomic": "^1.16.4", |
56 | 62 | "fast-equals": "^2.0.3",
|
57 | 63 | "fuzzaldrin-plus": "^0.6.0",
|
58 | 64 | "jasmine": "^3.10.0",
|
|
63 | 69 | "terser-config-atomic": "^0.1.1",
|
64 | 70 | "typescript": "^4.4.4"
|
65 | 71 | },
|
| 72 | + "engines": { |
| 73 | + "atom": ">=1.52.0 <2.0.0", |
| 74 | + "electron": ">=6.0.0", |
| 75 | + "node": ">=12.0.0" |
| 76 | + }, |
| 77 | + "gypfile": true, |
| 78 | + "node": "./index.js", |
66 | 79 | "targets": {
|
67 | 80 | "main": {
|
68 | 81 | "context": "node",
|
|
72 | 85 | "outputFormat": "commonjs",
|
73 | 86 | "isLibrary": true
|
74 | 87 | }
|
75 |
| - }, |
76 |
| - "engines": { |
77 |
| - "atom": ">=1.52.0 <2.0.0", |
78 |
| - "electron": ">=6.0.0", |
79 |
| - "node": ">=12.0.0" |
80 |
| - }, |
81 |
| - "repository": { |
82 |
| - "type": "git", |
83 |
| - "url": "https://github.com/atom-ide-community/zadeh.git" |
84 |
| - }, |
85 |
| - "license": "MIT", |
86 |
| - "bugs": { |
87 |
| - "url": "https://github.com/atom-ide-community/zadeh/issues" |
88 | 88 | }
|
89 | 89 | }
|
0 commit comments