forked from nostalgic-css/NES.css
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
159 lines (159 loc) · 4.56 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
{
"name": "nes.css",
"description": "NES.css is NES-style CSS Framework.",
"scripts": {
"watch": "npm run build:sass -- --watch",
"//": "Build task",
"build": "run-p build:core build:main",
"build:core": "npm run build:sass-core && npm run build:autoprefix-core && npm run build:cleancss-core",
"build:main": "npm run build:sass && npm run build:autoprefix && npm run build:cleancss",
"prebuild": "run-p prebuild:*",
"prebuild:stylelint": "npm run stylelint -- --fix",
"prebuild:clean": "rimraf css",
"postbuild": "npm run build:storybook",
"//": "For nes.css",
"build:sass": "node-sass --output-style expanded --source-map true --functions scripts/scssFunctions.js scss/nes.scss css/nes.css",
"build:autoprefix": "postcss --use autoprefixer --map false --output css/nes.css css/nes.css",
"build:cleancss": "cleancss -o css/nes.min.css css/nes.css",
"//": "For nes-core.css",
"build:sass-core": "node-sass --output-style expanded --source-map true --functions scripts/scssFunctions.js scss/nes-core.scss css/nes-core.css",
"build:autoprefix-core": "postcss --use autoprefixer --map false --output css/nes-core.css css/nes-core.css",
"build:cleancss-core": "cleancss -o css/nes-core.min.css css/nes-core.css",
"//": "Misc",
"stylelint": "stylelint scss/**/*.scss",
"storybook": "start-storybook -p 6006",
"build:storybook": "build-storybook",
"deploy": "npm run build",
"semantic-release": "semantic-release",
"commit": "git-cz",
"commit:retry": "git-cz --retry",
"commitmsg": "commitlint -e"
},
"repository": {
"type": "git",
"url": "https://github.com/nostalgic-css/NES.css.git"
},
"keywords": [
"css",
"scss",
"nes",
"framework"
],
"author": "BcRikko (https://github.com/Bcrikko)",
"license": "MIT",
"bugs": {
"url": "https://github.com/nostalgic-css/NES.css/issues"
},
"homepage": "https://github.com/nostalgic-css/NES.css#readme",
"devDependencies": {
"@commitlint/cli": "^7.2.1",
"@commitlint/config-conventional": "^7.1.2",
"@semantic-release/exec": "^3.3.0",
"@storybook/addon-backgrounds": "^4.1.3",
"@storybook/addon-knobs": "^4.0.11",
"@storybook/html": "^4.0.11",
"autoprefixer": "^9.1.5",
"babel-loader": "^8.0.4",
"clean-css-cli": "^4.2.1",
"commitizen": "^3.0.5",
"css-loader": "^2.0.0",
"cz-conventional-changelog": "^2.1.0",
"eslint": "^5.9.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-import": "^2.14.0",
"file-loader": "^2.0.0",
"git-rev-sync": "^1.12.0",
"husky": "^1.0.0",
"lint-staged": "^7.3.0",
"node-sass": "^4.9.3",
"npm-run-all": "^4.1.5",
"postcss-cli": "^6.0.0",
"prettier": "^1.15.2",
"rimraf": "^2.6.2",
"sass-loader": "^7.1.0",
"semantic-release": "^15.12.3",
"style-loader": "^0.23.1",
"stylelint": "^9.5.0",
"stylelint-config-prettier": "^4.0.0",
"stylelint-config-recess-order": "^2.0.0",
"stylelint-config-standard": "^18.2.0",
"stylelint-prettier": "^1.0.5",
"stylelint-scss": "^3.3.1"
},
"browserslist": [
"> 1%"
],
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"subject-case": [
0,
"never",
"sentence-case"
],
"subject-full-stop": [
0,
"never",
"."
]
}
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"scss/**/*.scss": [
"npm run postbuild"
],
"*.js": [
"eslint '.storybook/**/*.js' 'docs/**/*.js'"
]
},
"prettier": {
"printWidth": 100
},
"release": {
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/npm",
"@semantic-release/github",
[
"@semantic-release/exec",
{
"prepareCmd": "./scripts/updatePackageHeader.js ${nextRelease.version}"
}
]
]
},
"stylelint": {
"plugins": [
"stylelint-scss",
"stylelint-prettier"
],
"extends": [
"stylelint-config-standard",
"stylelint-config-recess-order",
"stylelint-prettier/recommended"
],
"rules": {
"prettier/prettier": true,
"string-quotes": "double",
"at-rule-no-unknown": null,
"scss/at-rule-no-unknown": true
}
},
"eslintConfig": {
"extends": "airbnb-base"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}