/
package.json
90 lines (90 loc) · 3.13 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
{
"name": "preact-context-provider",
"amdName": "Provider",
"version": "1.1.1",
"description": "A generic <Provider /> for preact to put props into context",
"jsnext:main": "dist/preact-context-provider.es.js",
"module": "dist/preact-context-provider.es.js",
"main": "dist/preact-context-provider.umd.js",
"cjs:main": "dist/preact-context-provider.js",
"source": "src/index.js",
"scripts": {
"lint": "eslint src test",
"test": "npm-run-all -p lint test:unit test:prod",
"test:unit": "karma start karma.conf.js --single-run",
"test:prod": "TEST_PRODUCTION=true npm run test:unit",
"test:watch": "npm run test:unit -- --no-single-run",
"build": "npm-run-all --silent clean transpile:* docs size",
"clean": "rimraf dist && mkdirp dist",
"transpile:cjs": "rollup -c -m -f cjs -n $npm_package_amdName -i $npm_package_source -o $npm_package_cjs_main",
"transpile:umd": "rollup -c -m -f umd -n $npm_package_amdName -i $npm_package_source -o $npm_package_main",
"transpile:esm": "rollup -c -m -f es -n $npm_package_amdName -i $npm_package_source -o $npm_package_module",
"docs": "documentation readme src/index.js --section API -q",
"size": "echo \"Gzipped Size: $(strip-json-comments --no-whitespace dist/preact-context-provider.js | gzip-size --raw)b\"",
"release": "npm run build -s && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"
},
"repository": {
"type": "git",
"url": "https://github.com/synacor/preact-context-provider"
},
"keywords": [
"preact",
"context",
"provider"
],
"files": [
"src",
"dist"
],
"homepage": "https://github.com/synacor/preact-context-provider",
"authors": [
"Jason Miller <jasonmiller@synacor.com>",
"Bill Neff <billneff79@gmail.com>"
],
"license": "BSD 3-Clause",
"eslintConfig": {
"extends": "eslint-config-synacor"
},
"devDependencies": {
"@babel/core": "^7.4.0",
"@babel/plugin-transform-react-jsx": "^7.3.0",
"@babel/preset-env": "^7.4.2",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.5",
"babel-plugin-external-helpers": "^6.22.0",
"chai": "^4.2.0",
"diff": "^4.0.1",
"documentation": "^9.3.1",
"eslint": "^5.15.3",
"eslint-config-synacor": "^3.0.3",
"gzip-size-cli": "^3.0.0",
"karma": "^4.0.1",
"karma-chai": "^0.1.0",
"karma-chai-as-promised": "^0.1.2",
"karma-chai-sinon": "^0.1.5",
"karma-chrome-launcher": "^2.2.0",
"karma-cli": "^2.0.0",
"karma-junit-reporter": "^1.2.0",
"karma-mocha": "^1.3.0",
"karma-mocha-reporter": "^2.2.5",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^3.0.5",
"mkdirp": "^0.5.1",
"mocha": "^6.0.2",
"npm-run-all": "^4.1.5",
"preact": "^8.2.5",
"preact-jsx-chai": "^2.2.1",
"rimraf": "^2.6.3",
"rollup": "^1.7.0",
"rollup-plugin-buble": "^0.19.6",
"rollup-plugin-memory": "^3.0.0",
"rollup-plugin-uglify": "^6.0.2",
"sinon": "^7.3.0",
"sinon-chai": "^3.3.0",
"strip-json-comments-cli": "^1.0.1",
"webpack": "^4.29.6"
},
"peerDependencies": {
"preact": "*"
}
}