-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
37 lines (37 loc) · 1.22 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
{
"name": "@fetsorn/wasm-grep",
"description": "WASM port of rigprep",
"module": "./pkg/bundler/index.js",
"types": "./pkg/bundler/index.d.ts",
"sideEffects": false,
"files": [
"pkg/**/*"
],
"version": "0.3.1",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/fetsorn/wasm-grep"
},
"scripts": {
"build": "yarn clean && yarn build:bundler && yarn build:web && yarn build:nodejs",
"build:bundler": "webpack -c webpack.bundler.mjs",
"build:web": "webpack -c webpack.web.mjs",
"build:nodejs": "webpack -c webpack.nodejs.mjs",
"test": "yarn test:node; yarn test:browser",
"test:browser": "wasm-pack test --headless --firefox --safari",
"test:node": "wasm-pack test --node",
"start:bundler": "ws -d dist/bundler",
"start:web": "ws -d dist/web",
"clean": "rimraf dist pkg target"
},
"devDependencies": {
"@wasm-tool/wasm-pack-plugin": "1.6.0",
"html-webpack-plugin": "^5.3.1",
"local-web-server": "^2.6.0",
"rimraf": "^2.6.2",
"webpack": "^5.30.0",
"webpack-cli": "^4.6.0",
"webpack-dev-server": "^4.7.4"
}
}