-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
79 lines (79 loc) · 1.98 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
{
"name": "ts-react-pure-class-plugin",
"version": "0.0.6",
"description": "A plugin for optimizing pure component in React(tsx).",
"main": "lib/index.js",
"typings": "index.d.ts",
"scripts": {
"build": "rm -rf lib && tsc -p tsconfig.json",
"cover": "npm run build && rm -rf ./coverage ./.nyc_output && nyc --reporter=html --reporter=lcov --exclude=node_modules --exclude=test mocha && nyc report",
"lint": "tslint -c ./tslint.json -p ./src/tsconfig.json",
"watch": "tsc -p ./src/tsconfig.json -w --diagnostics",
"bench": "npm run build && rm -rf ./dist && webpack",
"check": "ts-node ./test/index.ts",
"test": "jest",
"snapshot-update": "jest -u"
},
"keywords": [
"sfc",
"react",
"typescript"
],
"files": [
"index.d.ts",
"lib/",
"index.js"
],
"author": "Saviio",
"license": "Apache-2.0",
"devDependencies": {
"@types/jest": "^24.0.15",
"@types/node": "^10.3.1",
"@types/react": "^16.3.16",
"@types/react-dom": "^16.0.6",
"copy-webpack-plugin": "^4.5.2",
"coveralls": "^3.0.1",
"glob": "^7.1.3",
"husky": "^0.14.3",
"jest-specific-snapshot": "^2.0.0",
"lint-staged": "^7.1.3",
"mocha": "^5.2.0",
"nyc": "^12.0.2",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"ts-jest": "^24.0.2",
"ts-loader": "^4.3.1",
"ts-node": "^8.0.3",
"tslint": "^5.15.0",
"tslint-eslint-rules": "^5.4.0",
"typescript": "^3.4.1",
"webpack": "^4.10.2",
"webpack-cli": "^3.0.2",
"jest": "^24.8.0"
},
"jest": {
"globals": {
"ts-jest": {
"tsConfig": "tests/tsconfig.json"
}
},
"transform": {
"^.+\\.ts?$": "ts-jest"
},
"coverageDirectory": "./tests/coverage",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx"
],
"testRegex": "/tests/.*\\.spec\\.(j|t)sx?$",
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.ts"
]
},
"dependencies": {
"tsutils": "^3.14.0"
}
}