-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
54 lines (54 loc) · 1.48 KB
/
package.json
File metadata and controls
54 lines (54 loc) · 1.48 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
{
"name": "django-react-csrftoken",
"version": "1.0.4",
"description": "A drop-in React component for submitting forms with a Django CSRF middleware token.",
"main": "index.js",
"homepage": "https://github.com/iMerica/django-react-csrftoken",
"repository": "https://github.com/iMerica/django-react-csrftoken",
"options": {
"mocha": "--require scripts/mocha_runner src/**/__tests__/**/*.js"
},
"scripts": {
"prepublish": ". ./scripts/prepublish.sh",
"lint": "eslint ./src",
"lintfix": "eslint ./src --fix",
"testonly": "mocha $npm_package_options_mocha",
"test": "npm run lint && npm run testonly",
"test-watch": "npm run testonly -- --watch --watch-extensions js"
},
"keywords": [
"react",
"django",
"csrf",
"token"
],
"author": "Michael Martinez <imerica@me.com> (http://imeri.ca/)",
"license": "MIT",
"dependencies": {
"babel-runtime": "6.x.x",
"react-cookie": "^0.4.8",
"react-dom-factories": "^1.0.1"
},
"devDependencies": {
"mocha": "2.x.x",
"chai": "3.x.x",
"eslint": "1.7.x",
"babel-eslint": "4.x.x",
"eslint-plugin-babel": "2.x.x",
"babel-cli": "6.x.x",
"babel-core": "6.x.x",
"babel-polyfill": "6.x.x",
"babel-preset-es2015": "6.x.x",
"babel-preset-stage-2": "6.x.x",
"babel-plugin-transform-runtime": "6.x.x",
"react": "^15.3.2 || ^16.0.0"
},
"peerDependencies": {
"react": "^15.3.2 || ^16.0.0"
},
"babel": {
"presets": [
"es2015"
]
}
}