-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
119 lines (119 loc) · 2.83 KB
/
package.json
File metadata and controls
119 lines (119 loc) · 2.83 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
{
"name": "zax-cookie",
"version": "1.0.10",
"description": "js cookie",
"main": "./libs/cjs",
"sideEffects": false,
"directories": {
"test": "test",
"lib": "libs",
"doc": "docs"
},
"typings": "./libs/es/index.d.ts",
"scripts": {
"lint": "eslint --ext .ts src/",
"lint:fix": "eslint --fix --ext .ts src/",
"build:cjs": "rimraf './libs/cjs' && tsc -t 'ES5' -m 'CommonJS' --outDir './libs/cjs' ",
"build:es": "rimraf './libs/es' && tsc -t 'ES6' -m 'ESNext' --outDir './libs/es' ",
"build:umd": "rimraf './libs/umd' && tsc -t 'ES5' -m 'UMD' --outDir './libs/umd' ",
"doc:index": "rimraf './docs/*.md' && jsdoc2md --files ./src/index.ts --no-cache --configure ./jsdoc2md.json > ./docs/README.md",
"docs": "npm-run-all -p doc:**",
"build": "npm-run-all -p build:**",
"server": "NODE_ENV=production GATEWAY=outer node ./server/index.js",
"clean": "node ./build/scripts/clean",
"release": "node ./build/scripts/release $RELEASE_LOG",
"report": "codecov -t $CODECOV_TOKEN",
"test": "jest --coverage=true"
},
"zax": {
"innerModule": false,
"needBuild": true,
"test": true,
"docs": true,
"cleanDirs": [
"libs/**"
]
},
"keywords": [
"Ipxxiao/zax-cookie",
"cookie",
"js cookie"
],
"files": [
"libs/*",
"types/*"
],
"repository": {
"type": "git",
"url": "https://github.com/Ipxxiao/zax-cookie"
},
"browserslist": [
"last 2 versions",
"Firefox ESR",
"> 1%",
"ie >= 9",
"iOS >= 9",
"Android >= 4.3"
],
"homepage": "https://github.com/Ipxxiao/zax-cookie",
"author": "jonas",
"license": "MIT",
"private": false,
"types": "types/index.d.ts",
"devDependencies": {
"@babel/cli": "latest",
"@babel/core": "latest",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-proposal-object-rest-spread": "^7.6.2",
"@babel/plugin-transform-runtime": "^7.1.0",
"@babel/preset-env": "^7.6.3",
"@babel/preset-typescript": "^7.6.0",
"@types/jest": "latest",
"@types/js-cookie": "^2.2.4",
"@types/node": "^12.7.12",
"chalk": "^2.4.2",
"codecov": "3.7.1",
"done-rainbow": "^0.1.2",
"fs-extra": "^8.1.0",
"glob": "^7.1.4",
"jest": "latest",
"jsdoc-babel": "^0.5.0",
"jsdoc-to-markdown": "latest",
"npm-run-all": "^4.1.5",
"rimraf": "^3.0.0",
"ts-jest": "latest",
"tslib": "^1.10.0",
"typescript": "^3.6.4"
},
"jest": {
"transform": {
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/coverage/",
"/build/",
"/types/",
"/test/",
"/libs/"
],
"coverageThreshold": {
"global": {
"statements": 95,
"branches": 75,
"functions": 95,
"lines": 95
}
},
"collectCoverage": true
},
"dependencies": {
"js-cookie": "^2.2.1"
}
}