2020-01-20 21:12:25 +02:00
|
|
|
{
|
|
|
|
"name": "tiktok-dl",
|
2020-04-12 16:56:50 +03:00
|
|
|
"version": "2.0.0",
|
2020-01-20 21:12:25 +02:00
|
|
|
"scripts": {
|
|
|
|
"install-dependencies": "go get -v -t -d ./...",
|
2020-04-04 21:02:30 +03:00
|
|
|
"test:coverage": "go test -short -coverprofile=cov.out ./models ./utils",
|
2020-02-08 01:51:17 +02:00
|
|
|
"test": "go test -v ./models && go test -v ./utils",
|
2020-04-12 16:56:50 +03:00
|
|
|
"clean": "rm -rf out && rm -f scraper.min.js",
|
|
|
|
"build:scraper": "node node_modules/terser/bin/terser -c -m -- scraper.js > scraper.min.js",
|
|
|
|
"build:res": "cd generator && go run . && cd ..",
|
2020-04-12 03:22:00 +03:00
|
|
|
"build:app": "go build -o out/tiktok-dl -v .",
|
2020-04-12 16:56:50 +03:00
|
|
|
"build:dist": "npm run clean && mkdir out && npm run build:scraper && npm run build:res && npm run build:app",
|
2020-04-04 21:02:30 +03:00
|
|
|
"build": "go build -v .",
|
|
|
|
"sonar": "sonar-scanner -Dsonar.login=${SONAR_LOGIN} -Dproject.settings=.sonar/sonar-project.properties"
|
2020-01-20 21:12:25 +02:00
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"terser": "^4.6.3"
|
|
|
|
}
|
|
|
|
}
|