-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
79 lines (79 loc) · 2.52 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": "intl-pluralrules",
"version": "2.0.1",
"description": "Intl.PluralRules polyfill",
"keywords": [
"unicode",
"cldr",
"i18n",
"internationalization",
"pluralization"
],
"author": "Eemeli Aro <[email protected]>",
"license": "ISC",
"homepage": "https://github.com/eemeli/intl-pluralrules#readme",
"repository": "eemeli/intl-pluralrules",
"files": [
"factory.*",
"plural-rules.*",
"polyfill.*"
],
"type": "commonjs",
"main": "./polyfill.js",
"exports": {
".": "./polyfill.js",
"./factory": [
{
"import": "./factory.mjs",
"require": "./factory.js"
},
"./factory.js"
],
"./plural-rules": "./plural-rules.js",
"./polyfill": "./polyfill.js",
"./package.json": "./package.json"
},
"browser": {
"./factory.js": "./factory.mjs"
},
"react-native": {
"./factory.js": "./factory.js"
},
"browserslist": [
"> 0.25%, not dead"
],
"prettier": {
"arrowParens": "avoid",
"semi": false,
"singleQuote": true,
"trailingComma": "none"
},
"devDependencies": {
"@babel/core": "^7.11.4",
"@babel/preset-env": "^7.11.0",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^20.0.0",
"@rollup/plugin-node-resolve": "^9.0.0",
"c8": "^8.0.0",
"chai": "^4.3.6",
"make-plural": "^7.0.0",
"mocha": "^10.0.0",
"mocha-selenium-bridge": "^0.3.0",
"rollup": "^2.26.5",
"rollup-plugin-terser": "^7.0.0",
"test262-harness": "^10.0.0"
},
"scripts": {
"build": "rollup -c",
"clean": "git clean -fdxe node_modules -e examples/node_modules",
"prepublishOnly": "npm test && npm run build",
"test": "c8 mocha test/*.test.mjs",
"pretest262": "rollup -c test/rollup.test262.js",
"test262": "test262-harness --error-for-failures --features-exclude cross-realm --prelude test/dist/test262-prelude.js 'test262/test/intl402/PluralRules/**/*.js'",
"pretest:browsers": "npx rollup -c test/rollup.browser.js",
"test:browsers": "npm run test:edge && npm run test:firefox && npm run test:safari",
"test:edge": "BROWSER=Edge:110 mocha-selenium-bridge --driver ./test/browserstack-driver.js http://localhost:8000/test/browser-test.html",
"test:firefox": "BROWSER=Firefox:110 mocha-selenium-bridge --driver ./test/browserstack-driver.js http://localhost:8000/test/browser-test.html",
"test:safari": "OS='OS X:Big Sur' BROWSER=Safari:14.1 mocha-selenium-bridge --driver ./test/browserstack-driver.js http://localhost:8000/test/browser-test.html"
}
}