mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-04 05:29:14 -04:00
use std/esm to make chef compatible with cjs projects. Remove webpack work for node
This commit is contained in:
parent
897dc0fb97
commit
e4d98eba6b
6 changed files with 27 additions and 54 deletions
|
@ -27,7 +27,7 @@
|
|||
"type": "git",
|
||||
"url": "https://github.com/gchq/CyberChef/"
|
||||
},
|
||||
"main": "build/node/CyberChef.js",
|
||||
"main": "src/node/cjs.js",
|
||||
"module": "src/node/index.mjs",
|
||||
"bugs": "https://github.com/gchq/CyberChef/issues",
|
||||
"browserslist": [
|
||||
|
@ -108,6 +108,7 @@
|
|||
"diff": "^4.0.1",
|
||||
"es6-promisify": "^6.0.1",
|
||||
"escodegen": "^1.11.1",
|
||||
"esm": "^3.2.25",
|
||||
"esmangle": "^1.0.1",
|
||||
"esprima": "^4.0.1",
|
||||
"exif-parser": "^0.1.12",
|
||||
|
@ -156,9 +157,7 @@
|
|||
"scripts": {
|
||||
"start": "grunt dev",
|
||||
"build": "grunt prod",
|
||||
"node": "NODE_ENV=development grunt node",
|
||||
"node-prod": "NODE_ENV=production grunt node",
|
||||
"repl": "grunt node && node build/node/CyberChef-repl.js",
|
||||
"repl": "node src/node/repl.js",
|
||||
"test": "grunt test",
|
||||
"test-node": "grunt test-node",
|
||||
"testui": "grunt testui",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue