/
package.json
152 lines (152 loc) · 4.85 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
{
"name": "@kissmybutton/motorcortex-backgrounds",
"version": "0.1.14",
"description": "Backgrounds plugin for MotorCortex",
"main": "dist/motorcortex-backgrounds.cjs.js",
"module": "dist/motorcortex-backgrounds.esm.js",
"browser": "dist/motorcortex-backgrounds.umd.js",
"author": "KissMyButton PC (kissmybutton.gr) <opensource@kissmybutton.gr>",
"repository": {
"type": "git",
"url": "https://github.com/kissmybutton/motorcortex-backgrounds.git"
},
"license": "MIT",
"engines": {
"node": ">=8.3.2"
},
"scripts": {
"update-force:packages": "./node_modules/npm-check-updates/bin/ncu -u && npm i",
"update:packages": "npm update --save/--save-dev",
"concurrently": "concurrently -c \"cyan.bold,magenta.bold\" --names \"JS,Styles\"",
"lint:styles": "stylelint \"src/**.css\" \"src/**/*.scss\" --config .stylelintrc.json",
"lint:js": "eslint -c .eslintrc src/**/*.js",
"lint": "npm run concurrently \"npm:lint:js\" \"npm:lint:styles\"",
"lint:fix": "npm run concurrently \"npm:lint:js -- --fix\" \"npm:lint:styles -- --fix\"",
"build": "npm run build:lib && npm run build:demo",
"build:lib": "rollup -c",
"start": "npm run build:lib && concurrently -c \"cyan.bold,magenta.bold\" \"npm:build:lib -- -w\" \"npm:start:demo\" ",
"start:demo": "webpack-dev-server --mode=development --config ./demo/webpack.config.js",
"build:demo": "webpack --mode=production --config ./demo/webpack.config.js",
"test": "HERE GOES YOUR TEST TASK",
"test:prod": "npm run lint",
"report-coverage": "cat ./coverage/lcov.info | coveralls",
"commit": "git-cz",
"prebuild": "rimraf dist"
},
"keywords": [
"motorcortex",
"animation"
],
"lint-staged": {
"linters": {
"*.json": [
"prettier --write",
"git add"
],
"*.{css,scss}": [
"stylelint \"src/**.css\" \"src/**/*.scss\" --config .stylelintrc.json --fix",
"git add"
],
"*.{js,jsx}": [
"eslint --fix",
"git add"
]
}
},
"release": {
"verifyConditions": [
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/github",
"@semantic-release/git"
],
"prepare": [
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git"
]
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"dependencies": {
"@kissmybutton/motorcortex-anime": "^2.1.16"
},
"peerDependencies": {
"@kissmybutton/motorcortex": ">= 6.4.1 < 8"
},
"devDependencies": {
"@babel/cli": "7.14.8",
"@babel/core": "7.14.8",
"@babel/preset-env": "7.14.8",
"@commitlint/cli": "7.6.1",
"@commitlint/config-conventional": "7.6.0",
"@kissmybutton/motorcortex": "7.2.4",
"@kissmybutton/motorcortex-player": "2.1.0",
"@rollup/plugin-babel": "5.3.0",
"@rollup/plugin-commonjs": "18.1.0",
"@rollup/plugin-json": "4.1.0",
"@rollup/plugin-node-resolve": "11.2.1",
"@semantic-release/changelog": "5.0.1",
"@semantic-release/git": "9.0.0",
"@semantic-release/github": "7.2.3",
"@semantic-release/npm": "7.1.3",
"babel-eslint": "10.1.0",
"babel-loader": "8.2.2",
"babel-preset-es2015-node5": "1.2.0",
"browserslist": "4.16.6",
"caniuse-lite": "1.0.30001248",
"commitizen": "3.1.2",
"concurrently": "4.1.2",
"coveralls": "3.1.1",
"css-loader": "2.1.1",
"cz-conventional-changelog": "2.1.0",
"es6-promise": "4.2.8",
"eslint": "5.16.0",
"eslint-config-prettier": "3.6.0",
"eslint-config-standard": "12.0.0",
"eslint-plugin-babel": "5.3.1",
"eslint-plugin-import": "2.23.4",
"eslint-plugin-node": "8.0.1",
"eslint-plugin-prettier": "3.4.0",
"eslint-plugin-promise": "4.3.1",
"eslint-plugin-standard": "4.1.0",
"exports-loader": "0.7.0",
"husky": "7.0.2",
"imports-loader": "0.8.0",
"json-stringify-safe": "5.0.1",
"lint-staged": "8.2.1",
"npm-check-updates": "*",
"npx": "*",
"prettier": "1.19.1",
"rimraf": "2.7.1",
"rollup": "2.55.1",
"rollup-plugin-babel": "4.4.0",
"rollup-plugin-commonjs": "10.1.0",
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-terser": "7.0.2",
"sass-loader": "7.3.1",
"semantic-release": "17.4.4",
"shelljs": "0.8.4",
"stylelint": "9.10.1",
"stylelint-config-prettier": "4.0.0",
"stylelint-config-recommended": "2.2.0",
"stylelint-config-recommended-scss": "3.3.0",
"stylelint-config-sass-guidelines": "5.4.0",
"stylelint-config-standard": "18.3.0",
"stylelint-scss": "3.20.1",
"webpack": "4.46.0",
"webpack-cli": "3.3.12",
"webpack-dev-server": "3.11.2",
"whatwg-fetch": "3.6.2"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged",
"pre-push": "npm run test:prod"
}
}
}