forked from PButcher/flipdown
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
31 lines (31 loc) · 1.35 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
{
"name": "flipdown",
"version": "0.3.2",
"description": "A lightweight and performant flip styled countdown clock",
"main": "src/flipdown.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"clean": "rm -rf dist && mkdir -p dist && rm -rf example/css/flipdown && mkdir -p example/css/flipdown && rm -rf example/js/flipdown && mkdir -p example/js/flipdown",
"dist": "npx babel src/flipdown.js -o dist/flipdown.js --no-comments && npx babel src/flipdown.js --presets=minify --no-comments -o dist/flipdown.min.js && cp src/flipdown.css dist/flipdown.css && uglifycss src/flipdown.css > dist/flipdown.min.css",
"example": "npx babel src/flipdown.js -o example/js/flipdown/flipdown.js --no-comments && cp dist/flipdown.css example/css/flipdown/flipdown.css",
"build": "npm run clean && npm run dist && npm run example"
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/PButcher/flipdown.git"
},
"author": "Peter Butcher <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/PButcher/flipdown/issues"
},
"homepage": "https://github.com/PButcher/flipdown#readme",
"dependencies": {},
"devDependencies": {
"@babel/cli": "^7.1.0",
"@babel/core": "^7.1.0",
"@babel/preset-env": "^7.1.5",
"babel-preset-minify": "^0.5.0",
"uglifycss": "0.0.29"
}
}