-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
86 lines (86 loc) · 2.34 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"name": "class-mapper",
"version": "0.2.3",
"description": "Mapper for ES2015 and TypeScript classes",
"author": "w3tec <[email protected]> (http://w3tec.ch/)",
"contributors": [
{
"name": "Robert Kleger",
"url": "https://github.com/DaNautilus",
"email": "[email protected]"
}
],
"license": "MIT",
"repository": "git+ssh://[email protected]/w3tecch/class-mapper.git",
"main": "dist/index.js",
"module": "dist/index.es.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "rollup -c",
"bundle": "dts-bundle --name dist/index --main .tmp --outputAsModuleFolder",
"typecheck": "tsc --noEmit",
"lint": "tslint --project tsconfig.json --format stylish",
"test": "jest --env=jsdom --coverage",
"test:watch": "jest --env=jsdom --watch --updateSnapshot",
"prepublishOnly": "npm run build",
"createDeclaration": "tsc -d --emitDeclarationOnly --allowJs false",
"prebuild": "rimraf dist .tmp .rpt2_cache",
"postbuild": "npm run createDeclaration && npm run bundle && rimraf .tmp .rpt2_cache",
"posttest": "npm run typecheck && npm run lint",
"preversion": "npm test",
"postversion": "git push && git push --tags"
},
"keywords": [
"typescript",
"es2015",
"lib",
"library",
"boilerplate"
],
"files": [
"dist"
],
"jest": {
"transform": {
"^.+\\.(js|ts|tsx)$": "ts-jest"
},
"transformIgnorePatterns": [
"<rootDir>/node_modules/(?!lodash-es/.*)"
],
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"testPathIgnorePatterns": [
"<rootDir>/(node_modules|lib|es|dist)"
],
"coverageDirectory": "<rootDir>/test/coverage",
"collectCoverageFrom": [
"src/**/*.{t,j}s?(x)",
"!src/**/*.d.ts"
],
"moduleFileExtensions": [
"js",
"jsx",
"json",
"ts",
"tsx"
]
},
"dependencies": {
"lodash-es": "^4.17.11"
},
"devDependencies": {
"@types/jest": "^23.3.13",
"@types/lodash-es": "^4.17.1",
"@types/node": "^10.12.20",
"dts-bundle": "^0.7.3",
"jest": "^24.0.0",
"rimraf": "^2.6.3",
"rollup": "^1.1.2",
"rollup-plugin-node-resolve": "^4.0.0",
"rollup-plugin-terser": "^4.0.3",
"rollup-plugin-typescript2": "^0.19.2",
"ts-jest": "^23.10.5",
"tslib": "^1.9.3",
"tslint": "^5.12.1",
"typescript": "^3.2.4"
}
}