|
6 | 6 | "description": "Blazing fast library for fuzzy filtering, matching, and other fuzzy things!",
|
7 | 7 | "main": "./index.js",
|
8 | 8 | "node": "./index.js",
|
| 9 | + "source": "./src/binding/index.ts", |
9 | 10 | "scripts": {
|
10 | 11 | "format": "prettier --write . && clang-format -i src/*.h src/binding/*.cc src/binding/*.h",
|
11 | 12 | "test.format": "prettier . --check",
|
|
19 | 20 | "native.prebuild": "prebuildify --napi -t 12.0.0 -t electron@6.0.0 -t electron@9.3.5 --strip --tag-libc",
|
20 | 21 | "native.prebuild-ia32": "prebuildify --napi --arch=ia32 -t 12.0.0 -t electron@6.0.0 -t electron@9.3.5 --strip --tag-libc",
|
21 | 22 | "js.clean": "shx rm -rf dist dist-test .rollup.cache .parcel-cache **/tsconfig.tsbuildinfo ./index.* ./*.d.ts",
|
22 |
| - "js.dev": "npm run js.types && cross-env NODE_ENV=development rollup -c -w", |
23 |
| - "js.build": "npm run js.types && cross-env NODE_ENV=production rollup -c", |
| 23 | + "js.dev": "npm run js.types && cross-env NODE_ENV=development parcel watch --target main ./src/binding/index.ts", |
| 24 | + "js.build": "npm run js.types && cross-env NODE_ENV=production parcel build --target main ./src/binding/index.ts", |
24 | 25 | "js.types": "tsc -p ./src/binding/tsconfig.json --emitDeclarationOnly && shx mv ./src/binding/*.d.ts .",
|
25 | 26 | "clean": "npm run native.clean && npm run js.clean",
|
26 | 27 | "install": "node-gyp-build",
|
|
58 | 59 | "jasmine": "^3.7.0",
|
59 | 60 | "jasmine-node": "^3.0.0",
|
60 | 61 | "npm-check-updates": "11.7.1",
|
| 62 | + "parcel": "2.0.0-nightly.733", |
61 | 63 | "prebuildify": "^4.1.2",
|
62 | 64 | "prettier-config-atomic": "^2.0.5",
|
63 |
| - "rollup": "^2.52.2", |
64 |
| - "rollup-plugin-atomic": "^2.3.2", |
65 | 65 | "shx": "^0.3.3",
|
66 | 66 | "terser-config-atomic": "^0.1.1",
|
67 | 67 | "typescript": "^4.3.4"
|
68 | 68 | },
|
| 69 | + "targets": { |
| 70 | + "main": { |
| 71 | + "context": "node", |
| 72 | + "includeNodeModules": { |
| 73 | + "node-gyp-build": false |
| 74 | + }, |
| 75 | + "outputFormat": "commonjs", |
| 76 | + "isLibrary": true |
| 77 | + } |
| 78 | + }, |
| 79 | + "engines": { |
| 80 | + "atom": ">=1.52.0 <2.0.0", |
| 81 | + "electron": ">=6.0.0", |
| 82 | + "node": ">=12.0.0" |
| 83 | + }, |
69 | 84 | "repository": {
|
70 | 85 | "type": "git",
|
71 | 86 | "url": "https://github.com/atom-ide-community/zadeh.git"
|
|
0 commit comments