mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-15 08:03:36 -04:00
Added a new script to package the webextension. This will automatically build and zip the source code and the webextension for upload. It take a version as an argument and then checks the version in the manifest, and locally commits a version bump.
33 lines
803 B
JSON
33 lines
803 B
JSON
{
|
|
"name": "snowflake-pt",
|
|
"version": "0.0.0-git",
|
|
"description": "Snowflake is a WebRTC pluggable transport for Tor.",
|
|
"main": "build/snowflake.js",
|
|
"directories": {
|
|
"test": "test"
|
|
},
|
|
"scripts": {
|
|
"test": "node make.js test",
|
|
"build": "node make.js build",
|
|
"webext": "node make.js webext",
|
|
"pack-webext": "node make.js pack-webext",
|
|
"clean": "node make.js clean",
|
|
"prepublish": "node make.js node",
|
|
"start": "node build/snowflake.js",
|
|
"lint": "eslint . --ext .js"
|
|
},
|
|
"bin": {
|
|
"snowflake": "build/snowflake.js"
|
|
},
|
|
"author": "Serene Han",
|
|
"license": "BSD-3-Clause",
|
|
"devDependencies": {
|
|
"eslint": "^6.0.1",
|
|
"jasmine": "2.5.2"
|
|
},
|
|
"dependencies": {
|
|
"wrtc": "^0.0.61",
|
|
"ws": "^3.3.1",
|
|
"xmlhttprequest": "^1.8.0"
|
|
}
|
|
}
|