puter/packages/puter-js/package.json

20 lines
897 B
JSON
Raw Normal View History

2024-04-11 23:07:00 +00:00
{
"name": "puter",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start-server": "npx http-server --cors -c-1",
"start-webpack": "export NODE_OPTIONS=--openssl-legacy-provider && webpack ./src/index.js --output-filename puter.js && webpack ./src/index.js --output-filename puter.dev.js --watch --devtool source-map",
"start": "concurrently \"npm run start-server\" \"npm run start-webpack\"",
"build": "export NODE_OPTIONS=--openssl-legacy-provider && webpack ./src/index.js --output-filename puter.js && { echo \"// Copyright 2024 Puter Technologies Inc. All rights reserved.\"; echo \"// Generated on $(date '+%Y-%m-%d %H:%M')\n\"; cat ./dist/puter.js; } > temp && mv temp ./dist/puter.js"
},
"keywords": [],
"author": "",
"license": "Apache-2.0",
"devDependencies": {
"concurrently": "^8.2.2",
"webpack-cli": "^5.1.4"
}
}