-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 2.02 KB
/
package.json
File metadata and controls
83 lines (83 loc) · 2.02 KB
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
{
"name": "@jedmao/react-bem",
"version": "0.4.3",
"description": "BEM helper functions and HOCs for React.",
"keywords": [
"react",
"bem",
"helpers",
"css"
],
"author": "Jed Mao <jedmao@outlook.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/jedmao/react-bem.git"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"jest": {
"setupFiles": [
"raf/polyfill",
"<rootDir>/src/setupTests.ts"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"transform": {
"^.+\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(\\.|/)test\\.tsx?$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
]
},
"scripts": {
"clean": "rimraf dist",
"lint": "tslint --project tsconfig.json",
"prebuild": "npm run clean && npm run lint",
"build": "tsc",
"prebuild:watch": "npm run clean && npm run lint",
"build:watch": "tsc -p tsconfig.test.json --watch",
"pretest": "npm run build",
"test": "jest --env=jsdom",
"watch": "npm run test -- --watch",
"prepack": "npm run build"
},
"dependencies": {
"@types/enzyme": "^3.1.7",
"@types/enzyme-to-json": "^1.5.0",
"@types/jest": "^22.0.1",
"@types/prop-types": "^15.5.2",
"@types/react": "^16.0.34",
"@types/react-dom": "^16.0.3",
"@types/react-test-renderer": "^16.0.0",
"bem-helpers": "^0.9.1",
"bem-join": "^0.2.1"
},
"peerDependencies": {
"prop-types": "^15.6.0",
"react": "^16.2.0",
"react-dom": "^16.2.0"
},
"devDependencies": {
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"enzyme-to-json": "^3.3.0",
"jest": "^22.1.4",
"prop-types": "^15.6.0",
"raf": "^3.4.0",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-test-renderer": "^16.2.0",
"rimraf": "^2.6.2",
"ts-jest": "22.0.1",
"tslint": "^5.9.1",
"tslint-react": "^3.4.0",
"typescript": "2.6.2"
}
}