forked from enzymejs/enzyme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
112 lines (112 loc) · 4.44 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"name": "enzyme",
"private": true,
"version": "0.0.1",
"description": "JavaScript Testing utilities for React",
"homepage": "https://enzymejs.github.io/enzyme/",
"scripts": {
"clean-node-modules": "rm -rf node_modules/{*,.bin,.package-lock.json} && rm -rf packages/*/node_modules/{*,.bin,.package-lock.json}",
"postinstall": "[ -n \"${TRAVIS-}\" ] || (npm link npm && lerna bootstrap)",
"prepublish": "not-in-publish || (npm run build && safe-publish-latest)",
"preversion": "npm run clean && npm run check",
"postversion": "git push && git push --tags && npm run clean && npm run docs:publish",
"version": "lerna run build",
"clean": "lerna run clean",
"prelint": "npm run lint:root",
"lint": "lerna exec --parallel 'npm run lint -- --quiet'",
"lint:root": "eslint . --ext=js,md,jsx --ignore-pattern=packages/ --ignore-path .eslintignore",
"check": "lerna run lint && npm run test:all",
"prebuild": "npm run clean",
"build": "lerna run build",
"build:watch": "lerna run --parallel watch",
"pretest": "lerna run lint",
"test": "npm run test:only",
"pretest:only": "npm run build",
"test:only": "mocha --recursive packages/enzyme-test-suite/build",
"test:single": "mocha --watch",
"test:watch": "npm run test:only -- --watch",
"pretest:karma": "npm run build",
"test:karma": "karma start",
"test:all": "npm run react 13 && npm run test:only && npm run react 14 && npm run test:only && npm run react 15 && npm run test:only && npm run react 15.4 && npm run test:only && npm run react 15.5 && npm run test:only && npm run react 16 && npm run test:only && npm run react 16.1 && npm run test:only && npm run react 16.2 && npm run test:only && npm run react 16.3 && npm run test:only && npm run react 16.4 && npm run test:only && npm run react 16.5 && npm run test:only && npm run react 16.8 && npm run test:only",
"react": "sh install-relevant-react.sh",
"env:": "babel-node ./env.js",
"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 [email protected]:enzymejs/enzyme.git gh-pages && git checkout -b gh-pages && git add . && git commit -am 'update book' && git push [email protected]:enzymejs/enzyme.git gh-pages --force",
"travis": "nyc mocha --recursive packages/enzyme-test-suite/build",
"since": "node since"
},
"repository": {
"type": "git",
"url": "https://github.com/enzymejs/enzyme.git"
},
"keywords": [
"javascript",
"shallow rendering",
"shallowRender",
"test",
"reactjs",
"react",
"flux",
"testing",
"test utils",
"assertion helpers",
"tdd",
"mocha"
],
"author": "Jordan Harband <[email protected]>",
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.15.4",
"@babel/core": "^7.15.5",
"@babel/node": "^7.15.4",
"@babel/register": "^7.15.3",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.2.2",
"babel-plugin-transform-replace-object-assign": "^2.0.0",
"babel-preset-airbnb": "^4.5.0",
"chai": "^4.3.4",
"eslint": "^7.32.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-markdown": "^1.0.2",
"eslint-plugin-react": "^7.25.2",
"eslint-plugin-react-hooks": "^4.2.0",
"gitbook-cli": "^1.0.1",
"gitbook-plugin-anchors": "^0.7.1",
"gitbook-plugin-codeblock-disable-glossary": "0.0.1",
"gitbook-plugin-collapsible-menu": "^1.0.3",
"gitbook-plugin-edit-link": "^2.0.2",
"gitbook-plugin-github": "^2.0.0",
"glob-gitignore": "^1.0.14",
"in-publish": "^2.0.1",
"json-loader": "^0.5.7",
"karma": "^1.3.0",
"karma-chrome-launcher": "^1.0.1",
"karma-firefox-launcher": "^1.3.0",
"karma-mocha": "^1.3.0",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^1.8.1",
"lerna": "^2.11.0",
"mocha": "^3.5.3",
"mocha-lcov-reporter": "^1.3.0",
"npm": "gist:9cdb687f3806f8e6cb8a365d0b7840eb",
"nyc": "^10.3.2",
"prop-types": "^15.7.2",
"rimraf": "^2.7.1",
"safe-publish-latest": "^1.1.4",
"semver": "^6.3.0",
"webpack": "^2.7.0"
},
"greenkeeper": {
"ignore": [
"mocha",
"nyc",
"semver",
"webpack"
]
}
}