-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
50 lines (50 loc) · 1.61 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
{
"name": "shape-tri",
"version": "0.0.2",
"description": "Make CSS Triangle Shape",
"main": "dist/shapetri.js",
"module": "dist/shapetri.esm.js",
"sideEffects": false,
"types": "declaration/index.d.ts",
"keywords": [
"shape",
"css",
"triangle",
"js",
"tri"
],
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "npm run build:rollup && npm run declaration && npm run release:latest",
"declaration": "rm -rf declaration && tsc -p tsconfig.declaration.json",
"build:rollup": "rollup -c",
"deploy": "gh-pages -d ./demo --dest=./ --add",
"release": "npm run build && npm run release:current && npm run deploy",
"release:mkdir": "mkdir -p ./demo/release",
"release:current": "npm run release:mkdir && rm -rf ./demo/release/$npm_package_version && cp -a ./dist/. ./demo/release/$npm_package_version",
"release:latest": "npm run release:mkdir && rm -rf ./demo/release/latest && cp -a ./dist/. ./demo/release/latest"
},
"repository": {
"type": "git",
"url": "https://github.com/daybrush/shape-tri"
},
"author": "Daybrush",
"license": "MIT",
"bugs": {
"url": "https://github.com/daybrush/shape-tri/issues"
},
"homepage": "https://github.com/daybrush/shape-tri#readme",
"devDependencies": {
"gh-pages": "^2.0.1",
"rollup-plugin-prototype-minify": "^1.0.4",
"rollup-plugin-replace": "^2.1.0",
"string-replace": "^0.2.0"
},
"dependencies": {
"rollup": "^0.66.6",
"rollup-plugin-typescript": "^1.0.0",
"rollup-plugin-uglify": "^6.0.0",
"tslint": "^5.11.0",
"typescript": "^3.1.3"
}
}