-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
157 lines (157 loc) · 4.87 KB
/
Copy pathpackage.json
File metadata and controls
157 lines (157 loc) · 4.87 KB
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
{
"name": "lightgallery",
"version": "2.2.1",
"description": "lightGallery is a feature-rich, modular JavaScript gallery plugin for building beautiful image and video galleries for the web and the mobile",
"keywords": [
"JavaScript",
"Gallery",
"Video",
"slider",
"lightBox"
],
"main": "dist/lightgallery.umd.js",
"min": "dist/lightgallery.min.js",
"module": "dist/lightgallery.es5.js",
"typings": "dist/types/index.d.ts",
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "https://github.com/sachinchoolur/lightGallery"
},
"homepage": "http://www.lightgalleryjs.com/",
"bugs": {
"url": "https://github.com/sachinchoolur/lightGallery/issues"
},
"license": "GPLv3",
"author": {
"name": "Sachin Neravath",
"email": "sachi77n@gmail.com",
"url": "https://github.com/sachinchoolur"
},
"engines": {
"node": ">=6.0.0"
},
"scripts": {
"build": "tsc --module commonjs && npm run build-scss && npm run copyAssets && rollup -c rollup.config.ts && npm run minify-css",
"build:travis": "tsc --module commonjs && rollup -c rollup.config.ts",
"build-scss": "node-sass --include-path scss src/scss/ -o dist/css/ --output-style expanded",
"build-scss-dev": "node-sass --include-path scss src/scss/ -o site/static/css/ --output-style expanded",
"watch-css": "nodemon --watch 'src/**/*' -e scss -x \"npm run build-scss-dev\"",
"watch-site-content": "nodemon --watch dist -x \"npm run copyAssetsToSite\"",
"minify-css": "cleancss -o dist/css/lightgallery-bundle.min.css dist/css/lightgallery-bundle.css",
"start": "concurrently \"rollup -c rollup-dev.config.ts -w $LG_PLUGINS\" \"npm run watch-site-content \" \"npm run watch-css \" ",
"copyAssets": "copyfiles -u 1 src/fonts/** dist && copyfiles -u 1 src/images/** dist",
"copyPackages": "copyfiles README.md dist && copyfiles -u 1 packages/**/**/* dist && copyfiles -u 1 packages/**/* dist && copyfiles -u 1 packages/* dist",
"updatePackageFields": "ts-node tools/update-packages",
"copyScss": "copyfiles -f -u 1 src/scss/** dist/scss && copyfiles -u 2 src/scss/**/* dist/scss",
"buildLibraries": "ts-node tools/build-libraries",
"publishToNpm": "ts-node tools/npm-publish"
},
"lint-staged": {
"{src,test}/**/*.ts": [
"prettier --write",
"git add"
]
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
},
"jest": {
"transform": {
".(ts|tsx)": "ts-jest"
},
"testEnvironment": "jsdom",
"testRegex": "(/__tests__/.*|\\.(test))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/test/"
],
"coverageThreshold": {
"global": {
"branches": 0,
"functions": 0,
"lines": 0,
"statements": 0
}
},
"collectCoverageFrom": [
"src/*.{js,ts}"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"devDependencies": {
"@commitlint/cli": "^7.1.2",
"@commitlint/config-conventional": "^7.1.2",
"@testing-library/dom": "^7.30.4",
"@testing-library/jest-dom": "^5.12.0",
"@types/jest": "^26.0.23",
"@types/node": "^10.11.0",
"@types/react": "^17.0.3",
"@types/testing-library__dom": "^7.5.0",
"@types/testing-library__jest-dom": "^5.9.5",
"@typescript-eslint/eslint-plugin": "^4.6.0",
"@typescript-eslint/parser": "^4.6.0",
"clean-css-cli": "^4.3.0",
"colors": "^1.3.2",
"commitizen": "^3.0.0",
"concurrently": "^5.3.0",
"copyfiles": "^2.4.1",
"coveralls": "^3.0.2",
"cross-env": "^5.2.0",
"cz-conventional-changelog": "^2.1.0",
"eslint": "^7.12.1",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-prettier": "^3.1.4",
"fs-extra": "^7.0.1",
"husky": "^1.0.1",
"jest": "^26.6.3",
"jest-config": "^26.6.3",
"lint-staged": "^8.0.0",
"lodash.camelcase": "^4.3.0",
"node-sass": "^4.14.1",
"nodemon": "^2.0.4",
"prettier": "^2.1.2",
"prompt": "^1.0.0",
"replace-in-file": "^3.4.4",
"rimraf": "^2.6.2",
"rollup": "^2.52.2",
"rollup-plugin-commonjs": "^9.1.8",
"rollup-plugin-json": "^3.1.0",
"rollup-plugin-license": "^2.2.0",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-sourcemaps": "^0.4.2",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.27.3",
"semantic-release": "^17.4.2",
"semantic-release-cli": "^5.4.3",
"shelljs": "^0.8.3",
"travis-deploy-once": "^5.0.9",
"ts-jest": "^26.5.6",
"ts-node": "^9.1.1",
"typedoc": "^0.19.2",
"typescript": "^3.0.3"
},
"dependencies": {
"@types/picturefill": "^3.0.0",
"i": "^0.3.6",
"npm": "^6.14.8",
"video.js": "^7.0.3"
},
"peerDependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.2"
}
}