-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
36 lines (36 loc) · 861 Bytes
/
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
{
"name": "sample-npm-typescript-package",
"version": "0.0.1",
"description": "boilerplate for npm package written in typescript",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"test": "jest",
"clean-build": "rm -rf ./dist/*",
"build": "npm run clean-build && tsc -p ./tsconfig.json",
"prepublish": "npm run build"
},
"author": "Florian Blouet",
"license": "MIT",
"jest": {
"transform": {
".(ts|tsx)": "ts-jest"
},
"testEnvironment": "node",
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
]
},
"dependencies": {},
"devDependencies": {
"@types/jest": "^22.2.3",
"@types/node": "^8.0.47",
"jest": "^22.4.4",
"ts-jest": "^23.10.4",
"typescript": "^3.1.4"
}
}