forked from preactjs/preact
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
138 lines (138 loc) · 4.28 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"name": "preact",
"amdName": "preact",
"version": "10.0.0-alpha.0",
"private": false,
"description": "Fast 3kb React-compatible Virtual DOM library.",
"main": "dist/preact.js",
"module": "dist/preact.mjs",
"umd:main": "dist/preact.umd.js",
"source": "src/index.js",
"license": "MIT",
"types": "src/index.d.ts",
"scripts": {
"build": "npm-run-all --parallel build:*",
"build:core": "microbundle build --raw",
"build:debug": "microbundle build --raw --cwd debug",
"build:hooks": "microbundle build --raw --cwd hooks",
"build:compat": "microbundle build --raw --cwd compat --globals 'preact/hooks=preactHooks'",
"dev": "microbundle watch --raw --format cjs,umd",
"dev:hooks": "microbundle watch --raw --format cjs --cwd hooks",
"test": "npm-run-all lint build --parallel test:mocha test:karma test:ts",
"test:flow": "flow check",
"test:ts": "tsc -p test/ts/ && mocha --require babel-register test/ts/**/*-test.js",
"test:mocha": "mocha --recursive --require babel-register test/shared test/node",
"test:karma": "cross-env COVERAGE=true karma start karma.conf.js --single-run",
"test:mocha:watch": "npm run test:mocha -- --watch",
"test:karma:watch": "karma start karma.conf.js --no-single-run",
"test:karma:hooks": "cross-env COVERAGE=false karma start karma.conf.js --grep=hooks/test/browser/**.js --no-single-run",
"test:karma:bench": "cross-env PERFORMANCE=true COVERAGE=false karma start karma.conf.js --grep=test/benchmarks/**.js --single-run",
"benchmark": "npm run test:karma:bench -- no-single-run",
"test:size": "bundlesize",
"lint": "eslint src test",
"postinstall": "node -e \"console.log('\\u001b[35m\\u001b[1mLove Preact? You can now donate to our open collective:\\u001b[22m\\u001b[39m\\n > \\u001b[34mhttps://opencollective.com/preact/donate\\u001b[0m')\""
},
"eslintConfig": {
"extends": "developit",
"settings": {
"react": {
"pragma": "createElement"
}
},
"rules": {
"prefer-rest-params": 0,
"prefer-spread": 0,
"no-cond-assign": 0,
"react/jsx-no-bind": 0,
"react/prefer-stateless-function": 0,
"react/sort-comp": 0,
"jest/valid-expect": 0,
"jest/no-disabled-tests": 0,
"react/no-find-dom-node": 0
}
},
"files": [
"src",
"dist",
"compat/dist",
"compat/src",
"compat/server.js",
"compat/package.json",
"debug/dist",
"debug/src",
"debug/package.json",
"hooks/dist",
"hooks/src",
"hooks/package.json"
],
"keywords": [
"preact",
"react",
"virtual dom",
"vdom",
"components",
"virtual",
"dom"
],
"authors": [
"Jason Miller <jason@developit.ca>"
],
"repository": {
"type": "git",
"url": "https://github.com/developit/preact.git"
},
"bugs": {
"url": "https://github.com/developit/preact/issues"
},
"homepage": "https://github.com/developit/preact",
"dependencies": {
"prop-types": "^15.6.2"
},
"devDependencies": {
"@types/chai": "^4.1.2",
"@types/mocha": "^5.0.0",
"@types/node": "^10.5.2",
"babel-cli": "^6.24.1",
"babel-core": "^6.26.3",
"babel-loader": "^7.1.5",
"babel-plugin-istanbul": "^5.0.1",
"babel-plugin-transform-object-rest-spread": "^6.23.0",
"babel-plugin-transform-react-jsx": "^6.24.1",
"babel-preset-env": "^1.6.1",
"benchmark": "^2.1.4",
"bundlesize": "^0.17.0",
"chai": "^4.1.2",
"coveralls": "^3.0.0",
"cross-env": "^5.2.0",
"diff": "^3.5.0",
"eslint": "^5.1.0",
"eslint-config-developit": "^1.1.1",
"flow-bin": "^0.79.1",
"karma": "^3.0.0",
"karma-babel-preprocessor": "^7.0.0",
"karma-chai-sinon": "^0.1.5",
"karma-chrome-launcher": "^2.2.0",
"karma-coverage": "^1.1.2",
"karma-mocha": "^1.3.0",
"karma-mocha-reporter": "^2.2.5",
"karma-sauce-launcher": "^1.2.0",
"karma-sinon": "^1.0.5",
"karma-source-map-support": "^1.3.0",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^3.0.5",
"lodash": "^4.17.10",
"microbundle": "^0.11.0",
"mocha": "^5.2.0",
"npm-run-all": "^4.0.0",
"sinon": "^6.1.3",
"sinon-chai": "^3.0.0",
"typescript": "^3.0.1",
"webpack": "^4.3.0"
},
"bundlesize": [
{
"path": "./dist/preact.js",
"maxSize": "3Kb"
}
]
}