-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 2.97 KB
/
package.json
File metadata and controls
84 lines (84 loc) · 2.97 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
84
{
"name": "react-sane-contenteditable",
"version": "1.6.1",
"description": "React component with sane defaults to make any element contentEditable",
"keywords": ["content-editable", "contenteditable", "editable", "react", "react-component"],
"homepage": "https://github.com/ashleyw/react-sane-contenteditable#readme",
"bugs": {
"url": "https://github.com/ashleyw/react-sane-contenteditable/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ashleyw/react-sane-contenteditable.git"
},
"license": "MIT",
"author": "Ashley Williams <hi@ashleyw.co.uk>",
"contributors": ["Nick Aspinall", "Raphael Silva Cavalcanti", "Jess Telford"],
"files": ["lib", "LICENSE", "README.md"],
"main": "lib/cjs/react-sane-contenteditable.js",
"module": "lib/esm/react-sane-contenteditable.js",
"directories": {
"lib": "lib"
},
"scripts": {
"build": "yarn run build:clean && yarn run build:esm && yarn run build:cjs && yarn run build:umd",
"build:cjs": "cross-env BABEL_ENV=cjs babel src --out-dir lib/cjs",
"build:clean": "rimraf dist/ && rimraf lib/",
"build:esm": "cross-env BABEL_ENV=esm babel src --out-dir lib/esm",
"build:umd": "rollup -c && rimraf dist/index.esm.js",
"demo": "rollup -c rollup.config.demo.js",
"dev": "yarn run demo -w",
"dev:test": "jest --watch --verbose false",
"lint": "yarn run lint:prettier",
"lint:prettier": "prettier --write src/**/*",
"prepublish": "yarn build",
"test": "jest"
},
"husky": {
"hooks": {
"pre-commit": "yarn run lint && yarn run build && git add lib/* .size-snapshot.json",
"pre-push": "yarn test"
}
},
"dependencies": {
"@babel/runtime": "^7.1.2",
"prop-types": "^15.6.2"
},
"devDependencies": {
"@babel/cli": "^7.0.0-rc.1",
"@babel/core": "^7.0.0-rc.1",
"@babel/plugin-proposal-class-properties": "^7.0.0-rc.1",
"@babel/plugin-transform-runtime": "^7.1.0",
"@babel/plugin-transform-spread": "^7.0.0-rc.1",
"@babel/preset-env": "^7.0.0-rc.1",
"@babel/preset-react": "^7.0.0-rc.1",
"babel-core": "^7.0.0-0",
"babel-jest": "^23.4.2",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
"babel-plugin-transform-react-remove-prop-types": "^0.4.15",
"cross-env": "^5.2.0",
"enzyme": "^3.4.0",
"enzyme-adapter-react-16": "^1.2.0",
"husky": "1.0.0-rc.13",
"jest": "^23.4.2",
"jsdom": "^11.12.0",
"prettier": "1.14.2",
"react": "^16.4.2",
"react-dom": "^16.3.2",
"rimraf": "^2.6.2",
"rollup": "^0.66.6",
"rollup-plugin-babel": "^4.0.0-beta.8",
"rollup-plugin-babel-minify": "^5.0.0",
"rollup-plugin-commonjs": "^9.1.3",
"rollup-plugin-jsx": "^1.0.3",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-serve": "^0.4.2",
"rollup-plugin-size-snapshot": "^0.7.0",
"rollup-plugin-uglify": "^6.0.0",
"styled-components": "^3.4.2"
},
"peerDependencies": {
"react": "^16.4.2"
}
}