-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
42 lines (42 loc) · 1.51 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
34
35
36
37
38
39
40
41
42
{
"name": "nocopyrightsounds-api",
"version": "3.0.2",
"description": "A webscraper for the NoCopyrightSounds website to provide an API",
"main": "dist/cjs/main.js",
"module": "dist/esm/main.js",
"repository": {
"type": "git",
"url": "https://github.com/KaninchenSpeed/NoCopyrightSounds-API"
},
"scripts": {
"clean": "rm -rf dist",
"build": "tsc --module CommonJS --outDir dist/cjs; tsc --module ESNext --outDir dist/esm; cp -r src/api dist/cjs/api; cp -r src/api dist/esm/api",
"buildWatch": "tsc --watch --module CommonJS --outDir dist/cjs; tsc --watch --module ESNext --outDir dist/esm",
"dev": "concurrently \"npm run buildWatch\" \"npm run devStart\"",
"prepublishOnly": "npm run clean; npm run build; npm run prettier",
"prettier": "prettier --write .",
"test": "tsc -p tests/tsconfig.test.json ; node --enable_source_maps tests/dist/tests/main.test.js",
"testCache": "tsc -p tests/tsconfig.test.json ; node --enable_source_maps tests/dist/tests/cache.test.js"
},
"keywords": [
"NoCopyrightSounds",
"ncs",
"scraper"
],
"author": "KaninchenSpeed",
"license": "GPL-3.0",
"devDependencies": {
"@types/jsdom": "^21.1.6",
"@types/node": "^20.11.28",
"concurrently": "^8.2.2",
"prettier": "^3.2.5",
"typescript": "^5.4.2"
},
"dependencies": {
"axios": "^1.6.7",
"jsdom": "^24.0.0"
},
"files": [
"dist"
]
}