-
Notifications
You must be signed in to change notification settings - Fork 84
/
package.json
54 lines (54 loc) · 1.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
{
"name": "input-spinner",
"version": "1.0.0",
"private": true,
"description": "A Number-Spinner, Support keyboard operations and continuous changing",
"keywords": [
"spinner",
"number-steps",
"number-spinner",
"continuous"
],
"homepage": "https://vsn4ik.github.io/input-spinner/",
"repository": "vsn4ik/input-spinner",
"license": "MIT",
"author": {
"name": "xixilive",
"email": "[email protected]",
"url": "https://github.com/xixilive"
},
"contributors": [
{
"name": "Vasilii A.",
"url": "https://github.com/vsn4ik"
}
],
"main": "dist/input-spinner.js",
"files": [
"dist",
"src"
],
"scripts": {
"css": "npm run css-compile; npm run css-minify",
"css-compile": "lessc src/$npm_package_name.less dist/$npm_package_name.css",
"css-minify": "cleancss --source-map --source-map-inline-sources --output dist/$npm_package_name.min.css dist/$npm_package_name.css",
"js": "npm run js-compile; npm run js-minify",
"js-compile": "mkdir dist; cp -rf src/*.js dist/",
"js-minify": "terser --compress --output dist/$npm_package_name.min.js dist/$npm_package_name.js",
"release-zip": "rm -rf $npm_package_name-$npm_package_version-dist && cp -r dist/ $npm_package_name-$npm_package_version-dist && zip -r9 $npm_package_name-$npm_package_version-dist.zip $npm_package_name-$npm_package_version-dist && rm -rf $npm_package_name-$npm_package_version-dist",
"test": "npm run css; npm run js; karma start tests/karma.conf.js",
"serve": "serve --listen 5000 --no-clipboard ./docs/"
},
"devDependencies": {
"clean-css-cli": "^5.6.2",
"jquery": "^3.5.1",
"karma": "^6.4.1",
"karma-chrome-launcher": "^3.1.0",
"karma-qunit": "^4.1.1",
"less": "^4.1.3",
"puppeteer": "^19.7.2",
"qunit": "^2.10.1",
"serve": "^14.2.1",
"terser": "^5.0.0"
}
}