-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
118 lines (118 loc) · 2.53 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
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
{
"name": "@little-bonsai/ingrates",
"version": "0.10.2",
"sideEffects": false,
"description": "An isomorphic actor system",
"homepage": "https://ingrates.littlebonsai.co.uk/",
"license": "MIT",
"author": "Freddie Gilbraith <[email protected]",
"repository": {
"type": "git",
"url": "https://github.com/FreddieGilbraith/ingrates.git"
},
"source": "src/index.js",
"main": "dist/index.js",
"module": "dist/index.module.js",
"unpkg": "dist/index.umd.js",
"exports": "./dist/index.modern.js",
"type": "module",
"files": [
"dist",
"src"
],
"keywords": [
"actor",
"actors",
"browser",
"node",
"isomorphic"
],
"scripts": {
"size": "size-limit",
"bench": "node --enable-source-maps benchmark.js",
"build": "microbundle",
"format": "prettier --write src/**/*",
"lint": "eslint . && prettier --check src/**/*",
"prepublishOnly": "npm run build && npm run size",
"prepushOnly": "npm run format && && npm run test && npm run build && npm run size",
"test": "NODE_ENV=test c8 --check-coverage --lines 100 --functions 100 --branches 100 --reporter=html --reporter=text ava",
"test:watch": "NODE_ENV=test ava --watch --fail-fast",
"watch": "microbundle watch"
},
"eslintConfig": {
"extends": "@little-bonsai"
},
"prettier": {
"tabWidth": 4,
"trailingComma": "all",
"useTabs": true,
"printWidth": 100,
"overrides": [
{
"files": [
"**/*.md"
],
"options": {
"printWidth": 60,
"useTabs": false,
"tabWidth": 2
}
}
]
},
"babel": {
"presets": [
"@babel/preset-env"
]
},
"devDependencies": {
"@babel/cli": "^7.14.8",
"@babel/core": "^7.15.0",
"@babel/preset-env": "^7.15.0",
"@little-bonsai/eslint-config": "0.1.0",
"@size-limit/preset-small-lib": "^5.0.2",
"ava": "^3.15.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^27.0.6",
"babel-polyfill": "^6.26.0",
"babel-preset-minify": "^0.5.1",
"c8": "^7.8.0",
"eslint": "^7.32.0",
"jest-cli": "^27.0.6",
"microbundle": "0.13.0",
"prettier": "^2.3.2",
"ramda": "^0.27.1",
"size-limit": "^5.0.2"
},
"ava": {
"files": [
"test/**/*.test.js"
],
"failWithoutAssertions": false,
"ignoredByWatcher": [
"build",
"coverage"
],
"verbose": true
},
"size-limit": [
{
"name": "modern",
"limit": "2 kB",
"path": "./dist/index.modern.js"
},
{
"name": "module",
"limit": "2.5 kB",
"path": "./dist/index.module.js"
},
{
"name": "archaic",
"limit": "2.5 kB",
"path": "./dist/index.js"
}
],
"dependencies": {
"nanoid": "^3.1.23"
}
}