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