2020-01-20 19:12:25 +00:00
|
|
|
{
|
|
|
|
"name": "tiktok-dl",
|
2020-04-12 14:56:50 +01:00
|
|
|
"version": "2.0.0",
|
2020-01-20 19:12:25 +00:00
|
|
|
"scripts": {
|
|
|
|
"install-dependencies": "go get -v -t -d ./...",
|
2020-04-04 19:02:30 +01:00
|
|
|
"test:coverage": "go test -short -coverprofile=cov.out ./models ./utils",
|
2020-02-07 23:51:17 +00:00
|
|
|
"test": "go test -v ./models && go test -v ./utils",
|
2020-04-12 14:56:50 +01: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 01:22:00 +01:00
|
|
|
"build:app": "go build -o out/tiktok-dl -v .",
|
2020-04-12 14:56:50 +01:00
|
|
|
"build:dist": "npm run clean && mkdir out && npm run build:scraper && npm run build:res && npm run build:app",
|
2020-04-04 19:02:30 +01:00
|
|
|
"build": "go build -v .",
|
|
|
|
"sonar": "sonar-scanner -Dsonar.login=${SONAR_LOGIN} -Dproject.settings=.sonar/sonar-project.properties"
|
2020-01-20 19:12:25 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"terser": "^4.6.3"
|
|
|
|
}
|
|
|
|
}
|