forked from enzymejs/enzyme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
73 lines (73 loc) · 2.53 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
{
"name": "reagent",
"version": "0.1.0",
"description": "JavaScript Testing utilities for React",
"main": "build",
"scripts": {
"prepublish": "npm run clean && npm run build",
"preversion": "npm run clean && npm run check",
"postversion": "git push && git push --tags && npm run clean && npm run docs:publish",
"version": "npm run build",
"clean": "rimraf build",
"lint": "eslint src/**",
"test": "mocha --compilers js:babel/register --recursive src/**/__tests__/*.js",
"check": "npm run lint && npm run test:all",
"build": "babel src --out-dir build",
"test:watch": "mocha --compilers js:babel/register --recursive src/**/__tests__/*.js --watch",
"test:all": "npm run react:13 && npm test && npm run react:14 && npm test",
"react:clean": "rimraf node_modules/react node_modules/react-dom node_modules/react-addons-test-utils",
"react:13": "npm run react:clean && npm i [email protected]",
"docs:clean": "rimraf _book",
"docs:prepare": "gitbook install",
"docs:build": "npm run docs:prepare && gitbook build",
"docs:watch": "npm run docs:prepare && gitbook serve",
"docs:publish": "npm run docs:clean && npm run docs:build && cd _book && git init && git commit --allow-empty -m 'update book' && git fetch https://github.com/airbnb/reagent.git gh-pages && git checkout -b gh-pages && git add . && git commit -am 'update book' && git push https://github.com/airbnb/reagent.git gh-pages --force",
"travis": "istanbul cover _mocha --"
},
"repository": {
"type": "git",
"url": "https://github.com/airbnb/reagent.git"
},
"keywords": [
"javascript",
"shallow rendering",
"shallowRender",
"test",
"reactjs",
"react",
"flux",
"testing",
"test utils",
"assertion helpers",
"tdd",
"mocha"
],
"author": "Leland Richardson <[email protected]>",
"license": "MIT",
"dependencies": {
"cheerio": "^0.19.0",
"sinon": "^1.15.4",
"underscore": "^1.8.3"
},
"devDependencies": {
"babel": "^5.8.21",
"babel-eslint": "^4.1.4",
"chai": "^3.2.0",
"coveralls": "^2.11.4",
"eslint": "^1.9.0",
"eslint-config-airbnb": "^0.1.0",
"eslint-plugin-react": "^3.8.0",
"gitbook-cli": "^1.0.0",
"istanbul": "^0.4.0",
"mocha": "^2.2.5",
"rimraf": "^2.4.3"
},
"peerDependencies": {
"react": "0.13.x || 0.14.x"
},
"optionalDependencies": {
"jsdom": "^6.1.0",
"mocha-jsdom": "^1.0.0"
}
}