-
Notifications
You must be signed in to change notification settings - Fork 609
/
package.json
74 lines (74 loc) · 2.17 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
{
"name": "retinajs",
"version": "2.1.2",
"license": "MIT",
"homepage": "https://github.com/strues/retinajs",
"bugs": "https://github.com/strues/retinajs/issues",
"repository": {
"type": "git",
"url": "git+https://github.com/strues/retinajs.git"
},
"keywords": [
"retina",
"images",
"@2x",
"@3x",
"retina.js"
],
"main": "dist/retina.js",
"module": "es/retina.js",
"jsnext:main": "es/retina.js",
"files": [
"dist",
"es",
"LICENSE"
],
"lint-staged": {
"*.js": [
"yarn format",
"git add"
]
},
"devDependencies": {
"babel-jest": "^20.0.3",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"babel-preset-env": "^1.5.2",
"cross-env": "^5.0.1",
"cz-conventional-changelog-emoji": "^0.1.0",
"eslint": "^4.0.0",
"eslint-config-boldr": "^0.10.3",
"flow-bin": "^0.48.0",
"husky": "^0.13.4",
"jest": "^20.0.4",
"less": "^2.7.2",
"lint-staged": "^4.0.0",
"node-sass": "^4.5.3",
"prettier": "^1.4.4",
"rimraf": "^2.6.1",
"rollup": "^0.43.0",
"rollup-plugin-babel": "^2.7.1",
"rollup-plugin-babili": "^3.1.0",
"rollup-plugin-cleanup": "^1.0.1",
"rollup-plugin-flow": "^1.1.1",
"rollup-plugin-multi-dest": "^1.0.2",
"rollup-watch": "^4.0.0",
"sinon": "^2.3.5"
},
"scripts": {
"dev": "rollup -c -w -m inline",
"format": "prettier --single-quote=true --print-width=100 --jsx-bracket-same-line=false --trailing-comma=all --write \"src/**/*.js\"",
"build": "rimraf es && rimraf dist && npm run build:js && npm run build:styles",
"build:js": "cross-env NODE_ENV=producion rollup -c",
"build:styles": "npm run build:styles:es && npm run build:styles:dist",
"build:styles:es": "cp src/_retina.sass es && cp src/_retina.scss es && cp src/retina.less es && cp src/retina.styl es",
"build:styles:dist": "cp src/_retina.sass dist && cp src/_retina.scss dist && cp src/retina.less dist && cp src/retina.styl dist",
"precommit": "lint-staged",
"test-watch": "npm run test -- --watch",
"test": "jest"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog-emoji"
}
}
}