-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
69 lines (69 loc) · 2.36 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
{
"name": "cv-masonry-gallery",
"version": "1.0.0",
"main": "dist/",
"scripts": {
"clean:dist": "rimraf ./dist/*",
"clean:tmp": "rimraf .tmp/",
"prebuild": "npm run clean:dist -s",
"build": "npm run build:scripts && npm run build:styles && npm run build:autoprefixer",
"build:autoprefixer": "postcss --use autoprefixer --autoprefixer.browsers 'last 2 versions' -o dist/cv-gallery.css dist/cv-gallery.css",
"build:scripts": "babel src --out-dir dist",
"build:styles": "node-sass src/index.scss dist/cv-gallery.css",
"postbuild:styles": "cp dist/cv-gallery.css dist/_cv-gallery.scss",
"postinstall": "npm run build",
"lint": "npm run lint:jscs && npm run lint:eslint && npm run lint:sass",
"lint:jscs": "cat ./{src,test}/**/*.{js,jsx} | jscs",
"lint:eslint": "eslint --ext=\".js\" --ext=\".jsx\" src/",
"lint:sass": "scss-lint src/",
"postlint": "npm run clean:tmp",
"test": "mocha --compilers js:babel/register --recursive",
"test:watch": "npm run test -- -w test src --watch-extensions jsx",
"dev": "npm run dev:open && npm run dev:serve",
"dev:serve": "webpack-dev-server --devtool eval --progress --colors --content-base docs/",
"dev:open": "opener http://localhost:8080",
"predoc": "webpack --config webpack.doc.config.js",
"doc": "npm run doc:build",
"doc:build": "gh-pages -d docs"
},
"repository": {
"type": "git",
"url": "git@github.com:carlosvillu/react-gallery.git"
},
"pre-commit": [
"lint",
"test"
],
"dependencies": {
"react": "^0.13.3"
},
"devDependencies": {
"@schibstedspain/frontend-pre-commit-rules": "latest",
"@schibstedspain/theme-sui": "latest",
"autoprefixer": "latest",
"babel": "^5.5.6",
"babel-eslint": "~3.1.14",
"babel-jscs": "^1.0.1",
"babel-loader": "^5.1.4",
"css-loader": "^0.14.5",
"csslint": "^0.10.0",
"eslint": "~0.23.0",
"eslint-plugin-react": "~2.5.0",
"expect": "^1.6.0",
"gh-pages": "^0.3.1",
"jscs": "~1.13.1",
"lodash": "~3.9.3",
"mocha": "^2.2.5",
"node-libs-browser": "^0.5.2",
"node-sass": "^3.1.2",
"opener": "^1.4.1",
"postcss-cli": "latest",
"react-hot-loader": "^1.2.7",
"rimraf": "^2.4.0",
"sass-loader": "^1.0.2",
"scsslint": "latest",
"style-loader": "^0.12.3",
"webpack": "^1.9.11",
"webpack-dev-server": "^1.9.0"
}
}