Skip to content
This repository was archived by the owner on Apr 14, 2021. It is now read-only.

Commit 6d86f26

Browse files
committed
first version of NPM packaging
1 parent a7ef382 commit 6d86f26

File tree

3 files changed

+48
-0
lines changed

3 files changed

+48
-0
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@ cldr/
66

77
# Ignore test262 output
88
*.log
9+
10+
# d8 artifact
11+
.d8_history

.npmignore

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Pre-processed locale data output from Ldml2JsonConverter
2+
cldr/
3+
4+
# test262 compiled python files
5+
*.pyc
6+
7+
# Ignore test262 output
8+
*.log
9+
10+
# d8 artifact
11+
.d8_history
12+
13+
# The NPM package only needs runtime files.
14+
# (It doesn't need anything used during development of this library.)
15+
tools/
16+
tests/
17+

package.json

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"name": "Intl.js",
3+
"version": "0.0.1",
4+
"description": "polyfill the ECMA-402 Intl API (except collation)",
5+
"main": "Intl.js",
6+
"directories": {
7+
"test": "tests"
8+
},
9+
"scripts": {
10+
"test": "cd tests && ./run402"
11+
},
12+
"repository": {
13+
"type": "git",
14+
"url": "https://github.com/andyearnshaw/Intl.js"
15+
},
16+
"keywords": [
17+
"intl",
18+
"i18n",
19+
"internationalization",
20+
"ecma402",
21+
"polyfill"
22+
],
23+
"author": "Andy Earnshaw",
24+
"license": "MIT",
25+
"bugs": {
26+
"url": "https://github.com/andyearnshaw/Intl.js/issues"
27+
}
28+
}

0 commit comments

Comments
 (0)