-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
42 lines (42 loc) · 1.44 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": "name-of-project",
"version": "0.0.1",
"description": "",
"main": "./dist/index.js",
"directories": {
"lib": "lib"
},
"devDependencies": {
"@types/express": "^4.17.13",
"@types/jest": "^27.0.1",
"@types/node": "^16.10.3",
"@typescript-eslint/eslint-plugin": "^5.30.0",
"browserify": "^17.0.0",
"eslint": "^8.6.0",
"jest": "^27.3.1",
"prettier": "^2.3.2",
"ts-jest": "^27.0.5",
"tsc-watch": "^4.5.0",
"tsify": "^5.0.4",
"typedoc": "^0.22.7",
"typescript": "^4.4.3"
},
"scripts": {
"test": "./node_modules/.bin/jest --config jestconfig.json",
"coverage": "./node_modules/.bin/jest --config jestconfig.json --no-colors --ci",
"build": "tsc && npm run bundle",
"bundle": "npx json -I -f tsconfig.json -e 'this.compilerOptions.module=\"CommonJS\"' && browserify ./src/index.ts -p tsify --debug --standalone ExampleSpace > ./dist/bundle.js && npx json -I -f tsconfig.json -e 'this.compilerOptions.module=\"es2020\"'",
"watch": "tsc-watch --onSuccess 'npm run bundle'",
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"",
"lint": "eslint . --ext .ts",
"prepare": "npm run build",
"prepublishOnly": "npm test && npm run lint",
"preversion": "npm run lint",
"version": "npm run format && git add -A src",
"postversion": "git push && git push --tags",
"createdocs": "typedoc"
},
"keywords": [],
"author": "",
"license": "ISC"
}