-
Notifications
You must be signed in to change notification settings - Fork 129
/
package.json
162 lines (162 loc) · 5.76 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
160
161
162
{
"name": "@egjs/flicking",
"version": "4.11.4-snapshot",
"description": "Everyday 30 million people experience. It's reliable, flexible and extendable carousel.",
"main": "dist/flicking.cjs.js",
"module": "dist/flicking.esm.js",
"sideEffects": [
"**/*.css",
"**/*.sass"
],
"es2015": "dist/flicking.esm.js",
"types": "declaration/index.d.ts",
"scripts": {
"start": "concurrently \"rollup -w --config ./rollup.config.dev.js\" \"http-serve\"",
"build": "run-s build:bundle build:declaration build:css printsizes",
"build:bundle": "rm -rf ./dist && rollup -c",
"build:declaration": "rm -rf ./declaration && tsc -p tsconfig.declaration.json",
"build:css": "run-s build:css-clear build:sass build:css-prefix build:css-min",
"build:css-clear": "rm -rf ./dist/*.css",
"build:sass": "sass sass/:dist/ --style=expanded --no-source-map && sass sass/flicking.sass dist/flicking.min.css --style=compressed --no-source-map && sass sass/flicking-inline.sass dist/flicking-inline.min.css --style=compressed --no-source-map",
"build:css-prefix": "postcss dist/*.css --replace --use autoprefixer --no-map",
"build:css-min": "postcss dist/*.css --ext .min.css --use postcss-clean -d dist/ --no-map",
"declaration": "rm -rf declaration && tsc -p tsconfig.declaration.json",
"css": "postcss css/*.css --use autoprefixer postcss-clean -d dist/ -m",
"printsizes": "print-sizes ./dist --exclude=\\.map",
"test": "npm run test --prefix test/unit",
"test:chrome": "npm run test:chrome --prefix test/unit",
"test:cfc": "npm run test --prefix test/cfc",
"lint": "eslint src/**/*.ts",
"lint:test": "eslint 'test/unit/**/*.ts'",
"jsdoc": "jsdoc -c jsdoc.json",
"jsdoc:watch": "npm-watch jsdoc",
"docs:build": "jsdoc-to-mdx -c ./jsdoc-to-mdx.json",
"docs:version": "node ./config/docs-version-up",
"docs:release": "npm run docs:build && npm run docs:version && npm run build --prefix docs",
"demo:prebuild-version": "cpx 'dist/**/*' docs/build/release/$npm_package_version/dist --clean",
"demo:prebuild-latest": "cpx 'dist/**/*' docs/build/release/latest/dist --clean",
"demo:deploy": "npm run docs:release && npm run build && npm run demo:prebuild-version && npm run demo:prebuild-latest && gh-pages -d docs/build/ --add --remote upstream",
"demo:deploy-origin": "npm run docs:release && npm run build && npm run demo:prebuild-version && npm run demo:prebuild-latest && gh-pages -d docs/build/ --add --remote origin",
"release": "release-helper upstream",
"changelog": "node ./config/changelog.js",
"coveralls": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"packages": "npm run packages:update && npm run packages:build && npm run packages:publish",
"packages:update": "pvu --update=react-flicking,ngx-flicking/projects/ngx-flicking,vue-flicking,vue3-flicking,svelte-flicking",
"packages:build": "pvu --build=react-flicking,ngx-flicking,vue-flicking,vue3-flicking,svelte-flicking",
"packages:publish": "pvu --publish=react-flicking,ngx-flicking/dist/ngx-flicking,vue-flicking,vue3-flicking,svelte-flicking"
},
"repository": {
"type": "git",
"url": "https://github.com/naver/egjs-flicking"
},
"author": {
"name": "NAVER Corp."
},
"homepage": "https://naver.github.io/egjs-flicking/",
"bugs": {
"url": "https://github.com/naver/egjs-flicking/issues"
},
"license": "MIT",
"browserslist": [
"last 2 version",
"ie 9-11",
"not op_mini all"
],
"keywords": [
"carousel",
"flicking",
"slider",
"mouse",
"touch",
"desktop",
"mobile",
"react",
"vue",
"angular",
"preact",
"gallery",
"slideshow",
"swipe",
"egjs"
],
"devDependencies": {
"@babel/preset-env": "^7.16.0",
"@daybrush/jsdoc": "^0.3.10",
"@egjs/flicking-plugins": "^4.2.2",
"@egjs/release-helper": "0.0.3",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^11.1.0",
"@rollup/plugin-node-resolve": "^7.1.3",
"@rollup/plugin-replace": "^2.4.1",
"@types/fs-extra": "^9.0.11",
"@types/node": "^14.14.35",
"@types/resize-observer-browser": "^0.1.6",
"@typescript-eslint/eslint-plugin": "^4.18.0",
"@typescript-eslint/eslint-plugin-tslint": "^4.18.0",
"@typescript-eslint/parser": "^4.18.0",
"autoprefixer": "^9.8.8",
"babel-loader": "^8.2.2",
"babel-preset-env": "^1.7.0",
"concurrently": "^6.0.0",
"core-js": "^3.9.1",
"coveralls": "^3.0.2",
"cpx": "^1.5.0",
"egjs-jsdoc-template": "^1.4.4",
"eslint": "^7.22.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsdoc": "^30.7.9",
"eslint-plugin-prefer-arrow": "^1.2.3",
"fs-extra": "^7.0.1",
"gh-pages": "^2.0.1",
"hammer-simulator": "0.0.1",
"html-to-react": "^1.4.5",
"http-serve": "^1.0.1",
"husky": "^1.3.1",
"jsdoc-to-mdx": "^1.1.2",
"karma-typescript-es6-transform": "^5.5.2",
"npm-run-all": "^4.1.5",
"postcss-clean": "^1.2.2",
"postcss-cli": "^7.1.2",
"print-coveralls": "^1.2.2",
"print-sizes": "0.0.3",
"pvu": "^0.6.1",
"rollup": "^2.41.5",
"rollup-plugin-livereload": "^1.3.0",
"rollup-plugin-postcss": "^3.1.3",
"rollup-plugin-prototype-minify": "^1.1.0",
"rollup-plugin-serve": "^1.1.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.36.0",
"rollup-plugin-visualizer": "^4.2.1",
"sass": "^1.79.3",
"sync-exec": "^0.6.2",
"ts-mock-imports": "^1.3.3",
"tsconfig-paths-webpack-plugin": "^3.5.1",
"tslib": "^2.1.0",
"tslint": "^5.12.1",
"ttypescript": "^1.5.12",
"typescript": "^3.9.10",
"typescript-transform-paths": "^2.2.3"
},
"dependencies": {
"@egjs/axes": "^3.9.1",
"@egjs/component": "^3.0.1",
"@egjs/imready": "^1.3.1",
"@egjs/list-differ": "^1.0.1"
},
"husky": {
"hooks": {
"commit-msg": "node config/validate-commit-msg.js",
"pre-push": "npm run lint"
}
},
"watch": {
"jsdoc": {
"patterns": [
"src"
],
"extensions": "ts",
"runOnChangeOnly": false
}
}
}