forked from revertinc/revert
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
33 lines (33 loc) · 1.57 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
{
"name": "@revertdotdev/js",
"version": "1.0.0",
"description": "Client side javascript sdk",
"scripts": {
"dev": "concurrently --kill-others \"yarn run watch:ts\" \"yarn workspace @revertdotdev/revert-react dev\"",
"watch:ts": "run-script-os",
"watch:ts:default": "nodemon -w src/index.ts --exec \"yarn run build && cp dist/revert.js ../react/src/lib/build/revert-dev.js && cp dist/revert.js ../vue/src/lib/build/revert-dev.js\"",
"watch:ts:win32": "nodemon -w src/index.ts --exec \"yarn run build && xcopy /s /y dist\\revert.js ..\\react\\src\\lib\\build\\revert-dev.js && echo F | xcopy /s /y dist\\revert.js ..\\vue\\src\\lib\\build\\revert-dev.js\"",
"test": "npm test",
"build": "npm run prebuild && vite build",
"prebuild": "tsc && babel src -d lib && browserify lib/index.js -o lib/bundle.js",
"bundle": "browserify lib/index.js -o lib/bundle.js",
"pre-deploy": "javascript-obfuscator dist/revert.js --output build/revert.js",
"deploy": "npm run build && npm run pre-deploy"
},
"author": "Jatin Sandilya",
"license": "ISC",
"devDependencies": {
"@babel/cli": "^7.12.10",
"@babel/core": "^7.22.11",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/preset-env": "^7.12.11",
"browserify": "^17.0.0",
"concurrently": "^8.2.1",
"dotenv": "^16.3.1",
"javascript-obfuscator": "^2.10.3",
"nodemon": "^2.0.22",
"run-script-os": "^1.1.6",
"typescript": "4.6.3",
"vite": "^4.4.9"
}
}