-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
54 lines (54 loc) · 2.35 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
{
"name": "redaxtor-medium",
"version": "0.3.0",
"description": "MediumEditor component for Redaxtor library",
"main": "lib/index.js",
"files": [
"lib",
"src"
],
"scripts": {
"clean": "rimraf lib dist",
"lint": "eslint src",
"check:src": "npm run lint",
"test": "echo \"Error: no test specified\" && exit 1",
"build": "npm run build:commonjs && npm run build:less && npm run build:umd && npm run build:umd:min",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib && lessc --source-map src/redaxtor-medium.less lib/redaxtor-medium.css",
"build:umd": "cross-env NODE_ENV=development webpack src/index.js dist/redaxtor-medium.js && npm run build:less:umd",
"build:umd:min": "cross-env NODE_ENV=production webpack src/index.js dist/redaxtor-medium.min.js && npm run build:less:umd:min",
"build:less": "npm run build:less:commonjs && npm run build:less:umd && npm run build:less:umd:min",
"build:less:commonjs": "lessc -ru --source-map src/redaxtor-medium.less lib/redaxtor-medium.css",
"build:less:umd": "lessc -ru --source-map src/redaxtor-medium.less dist/redaxtor-medium.css && lessc --source-map src/medium-editor.less dist/medium-editor.css",
"build:less:umd:min": "lessc -ru --compress --source-map src/redaxtor-medium.less dist/redaxtor-medium.min.css && lessc --compress --source-map src/medium-editor.less dist/medium-editor.min.css",
"prepublish": "npm run clean && npm run check:src && npm run build"
},
"author": "SpiralScout",
"license": "MIT",
"devDependencies": {
"babel": "^6.5.2",
"babel-cli": "^6.6.5",
"babel-loader": "^6.2.4",
"babel-plugin-add-module-exports": "^0.1.2",
"babel-plugin-transform-class-properties": "^6.6.0",
"babel-plugin-transform-dev-warning": "^0.1.0",
"babel-plugin-transform-object-rest-spread": "^6.6.5",
"babel-preset-es2015": "^6.6.0",
"babel-preset-react": "^6.5.0",
"babel-preset-stage-1": "^6.5.0",
"cross-env": "^1.0.7",
"eslint": "^2.4.0",
"eslint-plugin-react": "^4.2.3",
"less": "^2.7.1",
"style-loader": "^0.13.1",
"rimraf": "^2.5.2",
"css-loader": "^0.26.1",
"webpack": "^1.12.14"
},
"dependencies": {
"superagent": "^3.2.1",
"classnames": "^2.2.5",
"medium-editor": "^5.14.4",
"react": "^15.0.0-rc || ^15.0.0",
"react-dom": "^15.0.0-rc || ^15.0.0"
}
}