-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
72 lines (72 loc) · 3.43 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
{
"name": "es-pack-js",
"version": "0.5.14",
"description": "Build and test portable JavaScript/rustwasm modules",
"bin": {
"es-pack": "bin/es-pack"
},
"main": "src/index.js",
"directories": {},
"scripts": {
"postinstall": "(cd ./node-polyfill && npm run install) && (cd ./rustwasm-wrapper && npm i)",
"test": "npm run test:node && npm run test:browser && npm run test:verify && npm run test:ex",
"test:node": "jest tests/node/main.test.js",
"test:browser": "jest -c jest.config.browser.js tests/browser/main.test.js",
"test:verify": "npm run test:verify:base && npm run test:verify:hoge && npm run test:verify:babel && npm run test:verify:update && npm run test:verify:units",
"test:ex": "npm run test:ex:base && npm run test:ex:hoge && npm run test:ex:babel && npm run test:ex:meta && npm run test:ex:ts && npm run test:ex:rustwasm-add && npm run test:ex:rustwasm-ffi",
"test:verify:base": "bin/es-pack build examples/base -m umd esm esm-compat --verify",
"test:verify:hoge": "bin/es-pack build examples/externals-hoge -m umd esm esm-compat --verify",
"test:verify:babel": "bin/es-pack build examples/externals-babel -m umd esm esm-compat --verify",
"test:verify:update": "bin/es-pack build examples/extconfig-update -m umd esm esm-compat --verify",
"test:verify:units": "bin/es-pack build examples/extconfig-units --verify",
"test:ex:base": "bin/es-pack test examples/base --node --browser",
"test:ex:hoge": "bin/es-pack test examples/externals-hoge --node --browser",
"test:ex:babel": "bin/es-pack test examples/externals-babel --node --browser",
"test:ex:meta": "bin/es-pack build examples/meta -m umd esm esm-compat && bin/es-pack test examples/meta --node --browser",
"test:windows": "bin/es-pack build examples/meta -m umd esm esm-compat && jest -c jest.config.js --rootDir examples/meta && jest -c jest.config.browser.js --rootDir examples/meta",
"test:ex:ts": "bin/es-pack build examples/ts -m umd esm esm-compat && bin/es-pack test examples/ts --node --browser",
"test:ex:rustwasm-add": "make -C examples/rustwasm-add ci",
"test:ex:rustwasm-ffi": "make -C examples/rustwasm-ffi ci"
},
"repository": {
"type": "git",
"url": "https://github.com/w3reality/es-pack-js.git"
},
"keywords": [
"webpack",
"module",
"build",
"umd",
"esm"
],
"author": "j-devel",
"license": "MIT",
"bugs": {
"url": "https://github.com/w3reality/es-pack-js/issues"
},
"homepage": "https://github.com/w3reality/es-pack-js",
"dependencies": {
"@babel/core": "^7.12.3",
"@babel/eslint-parser": "^7.17.0",
"@babel/preset-env": "^7.12.1",
"@babel/standalone": "^7.12.6",
"babel-loader": "^8.1.0",
"babel-plugin-add-module-exports": "^1.0.4",
"base64-arraybuffer": "^0.2.0",
"eslint": "^7.12.1",
"eslint-webpack-plugin": "^3.1.1",
"express": "^4.17.1",
"fs-extra": "^9.0.1",
"jest": "^27.2.0",
"jest-puppeteer": "^6.1.0",
"puppeteer": "^13.1.2",
"terser-webpack-plugin": "^5.3.4",
"toml": "^3.0.0",
"ts-loader": "^9.3.1",
"typescript": "^4.7.4",
"webpack": "^5.70.0",
"webpack-bundle-analyzer": "^4.5.0",
"webpack-cli": "^4.9.2",
"yargs": "^16.1.0"
}
}