-
Notifications
You must be signed in to change notification settings - Fork 18
/
package.json
97 lines (97 loc) · 3.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
{
"name": "preact-i18n",
"amdName": "preactLocalize",
"version": "1.5.0",
"description": "Preact internationalization, done simply.",
"source": "src/index.js",
"module": "dist/preact-i18n.esm.js",
"main": "dist/preact-i18n.js",
"umd:main": "dist/preact-i18n.umd.js",
"scripts": {
"test": "npm-run-all --silent -p lint build test:unit -s test:prod",
"lint": "eslint src test",
"test:watch": "npm run test:unit -- --no-single-run",
"test:unit": "karma start karma.conf.js --single-run",
"test:prod": "cross-env TEST_PRODUCTION=true karma start karma.conf.js --single-run",
"build": "npm-run-all --silent clean -p rollup:* -p minify:* -s docs size",
"clean": "rimraf dist && mkdirp dist",
"rollup:cjs": "cross-var rollup -c rollup.config.js -m -f cjs -n $npm_package_amdName -i $npm_package_source -o $npm_package_main",
"rollup:umd": "cross-var rollup -c rollup.config.js -m -f umd -n $npm_package_amdName -i $npm_package_source -o $npm_package_umd_main",
"rollup:esm": "cross-var rollup -c rollup.config.js -m -f es --environment FORMAT:es -n $npm_package_amdName -i $npm_package_source -o $npm_package_module",
"minify:cjs": "cross-var uglifyjs $npm_package_main -c -m toplevel -o $npm_package_main --source-map content=$npm_package_main.map",
"minify:umd": "cross-var uglifyjs $npm_package_umd_main -c -m -o $npm_package_umd_main --source-map content=$npm_package_umd_main.map",
"docs": "documentation readme -q --section API src",
"size": "cross-var echo \"Gzipped Size: $(strip-json-comments --no-whitespace $npm_package_main | gzip-size --raw)\"",
"prepublishOnly": "cross-var npm run build -s && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags"
},
"repository": "synacor/preact-i18n",
"keywords": [
"intl",
"internationalization",
"localization"
],
"homepage": "https://github.com/synacor/preact-i18n",
"authors": [
"Jason Miller <[email protected]>",
"Bill Neff <[email protected]>"
],
"license": "BSD-3-Clause",
"files": [
"src",
"dist"
],
"eslintConfig": {
"extends": "eslint-config-synacor",
"rules": {
"guard-for-in": 0
}
},
"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",
"buble": "^0.19.7",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"cross-env": "^5.2.0",
"cross-var": "^1.1.0",
"documentation": "^9.3.1",
"documentation-theme-default": "^3.0.0",
"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",
"sinon": "^7.3.0",
"sinon-chai": "^3.3.0",
"strip-json-comments-cli": "^1.0.1",
"uglify-js": "^3.5.1",
"webpack": "^4.29.6"
},
"dependencies": {
"dlv": "^1.1.3"
},
"peerDependencies": {
"preact": "<10"
}
}