-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
79 lines (79 loc) · 2.43 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"name": "tiny-cookie",
"version": "2.5.1",
"description": "A tiny cookie manipulation plugin",
"main": "./dist/tiny-cookie.cjs.js",
"module": "./dist/tiny-cookie.mjs",
"jsnext:main": "./dist/tiny-cookie.mjs",
"typings": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/tiny-cookie.cjs.js",
"import": "./dist/tiny-cookie.mjs",
"types": "./dist/index.d.ts"
}
},
"files": [
"flow",
"dist",
"lib",
"es",
"src",
"types"
],
"scripts": {
"clean": "rimraf dist coverage",
"start": "ts-node-esm --project tsconfig.node.json server.ts",
"lint": "eslint src",
"test": "npm run build && karma start",
"build:cjs": "cross-env FORMAT=cjs NODE_ENV=development rollup -c rollup.config.js --bundleConfigAsCjs",
"build:es": "cross-env FORMAT=es NODE_ENV=development rollup -c rollup.config.js --bundleConfigAsCjs",
"build:umd": "cross-env FORMAT=umd NODE_ENV=development rollup -c rollup.config.js --bundleConfigAsCjs",
"build:umd:min": "cross-env FORMAT=umd NODE_ENV=production rollup -c rollup.config.js --bundleConfigAsCjs",
"build:types": "tsc src/index.ts --declaration --outDir dist/dts --emitDeclarationOnly && api-extractor run --local && rimraf dist/dts",
"build": "npm run clean && npm run build:cjs && npm run build:es && npm run build:umd && npm run build:umd:min && npm run build:types"
},
"author": {
"name": "Alex Chao",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "git://github.com/Alex1990/tiny-cookie.git"
},
"license": "MIT",
"devDependencies": {
"@microsoft/api-extractor": "^7.34.3",
"@rollup/plugin-terser": "^0.4.0",
"@rollup/plugin-typescript": "^11.0.0",
"@tsconfig/node16": "^1.0.3",
"@types/express": "^4.17.17",
"@types/node": "^18.11.19",
"@typescript-eslint/eslint-plugin": "^5.50.0",
"@typescript-eslint/parser": "^5.50.0",
"chai": "^4.3.7",
"cross-env": "^7.0.3",
"eslint": "^8.33.0",
"express": "^4.18.2",
"karma": "^6.4.1",
"karma-chrome-launcher": "^3.1.1",
"karma-coverage": "^2.2.0",
"karma-mocha": "^2.0.1",
"mocha": "^10.2.0",
"pre-commit": "^1.2.2",
"rimraf": "^4.1.2",
"rollup": "^3.13.0",
"ts-node": "^10.9.1",
"tslib": "^2.5.0",
"typescript": "^4.8.4"
},
"keywords": [
"cookie",
"browser cookie",
"tiny",
"tiny cookie"
],
"pre-commit": [
"lint"
]
}