-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
64 lines (64 loc) · 1.66 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
{
"name": "sewing",
"version": "0.0.56",
"description": "A JavaScript utility library in business scenarios",
"main": "libs/index.js",
"module": "dist/index.js",
"files": [
"dist",
"libs"
],
"scripts": {
"lint": "tsc --noEmit && tslint --project tsconfig.json",
"docs:lint": "documentation lint dist/**",
"docs:deploy": "npm run docs && cp -r .circleci docs && gh-pages -d docs -t",
"docs": "npm run dev && documentation build dist/** -f html -o docs",
"build": "npm run dev && bili --format cjs --filename '[name].js' --exports 'named'",
"dev": "tsc",
"test:unit": "jest",
"postversion": "rm -rf dist/ libs/ && npm run build && npm run docs:deploy"
},
"author": "Army-U <wuchengkai0@gmail.com>",
"homepage": "https://github.com/Army-U/sewing",
"keywords": [
"utility"
],
"repository": {
"type": "git",
"url": "git+https://github.com/Army-U/sewing.git"
},
"license": "MIT",
"devDependencies": {
"babel-core": "6.26.3",
"babel-jest": "22.4.3",
"babel-preset-env": "1.7.0",
"bili": "^3.4.2",
"documentation": "6.0.0",
"gh-pages": "^2.0.1",
"jest": "22.4.3",
"node-fetch": "2.1.2",
"regenerator-runtime": "0.11.1",
"rollup-plugin-typescript2": "^0.19.0",
"tslint": "5.10.0",
"tslint-config-standard": "7.0.0",
"typescript": "^3.2.2"
},
"bili": {
"input": [
"./src/**/*.ts"
],
"outDir": "libs/",
"banner": true
},
"jest": {
"testMatch": [
"**/__tests__/**/*.spec.js"
],
"moduleNameMapper": {
"^sewing/(.+)": "<rootDir>/dist/$1.js"
},
"setupFiles": [
"./__tests__/setUpFetchPolyfill.js"
]
}
}