-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
57 lines (57 loc) · 1.43 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
{
"name": "hero-patterns",
"version": "2.1.0",
"description": "Patterns from heropatterns.com",
"main": "dist/hero-patterns.cjs.js",
"module": "dist/hero-patterns.es.js",
"scripts": {
"bundle": "rollup -c",
"bundle:min": "cross-env NODE_ENV=production rollup -c",
"prepublishOnly": "npm run bundle:min",
"precommit": "npm run bundle:min && lint-staged",
"site:build": "npm run bundle:min && cd www && npm i && npm run build:min",
"site:dev": "cd www && npm && npm start"
},
"repository": {
"type": "git",
"url": "https://github.com/lowmess/hero-patterns.git"
},
"author": "Alec Lomas",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.9.6",
"@babel/preset-env": "^7.9.6",
"@rollup/plugin-babel": "^5.0.2",
"babel-preset-es2015-rollup": "^3.0.0",
"cross-env": "^7.0.2",
"eslint": "^6.8.0",
"eslint-config-lowmess": "^3.2.2",
"husky": "^4.2.5",
"lint-staged": "^10.2.6",
"prettier": "^2.0.5",
"rollup": "^2.10.9",
"rollup-plugin-terser": "^6.1.0"
},
"browserslist": [
"> 0.25%",
"last 2 chrome versions",
"last 2 edge versions",
"last 2 firefox versions",
"last 2 safari versions",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --fix",
"prettier --write",
"git add"
]
}
}