This repository was archived by the owner on Apr 14, 2021. It is now read-only.
File tree 4 files changed +45
-5
lines changed
4 files changed +45
-5
lines changed Original file line number Diff line number Diff line change
1
+ Contributing Code to ` Intl.js `
2
+ ------------------------------
3
+
4
+ Dev mode installation
5
+ ---------------------
6
+
7
+ To install the dependencies:
8
+
9
+ npm install
10
+
11
+ To run the unit tests:
12
+
13
+ npm test
14
+
15
+ To build files:
16
+
17
+ npm run build
18
+
19
+ Release checklist
20
+ -----------------
21
+
22
+ * build all files using ` npm run build `
23
+ * verify that [ README.md] is updated
24
+ * bump the version in [ package.json]
25
+ * commit to master
26
+ * push to npm using ` npm publish `
27
+ * create a [ new release] entry including the tag for the new version, being sure to document any deprecations
28
+
29
+ [ README.md ] : https://github.com/andyearnshaw/Intl.js/blob/master/README.md
30
+ [ package.json ] : https://github.com/andyearnshaw/Intl.js/blob/master/package.json
31
+ [ new release ] : https://github.com/andyearnshaw/Intl.js/releases/new
Original file line number Diff line number Diff line change 1
- module . exports = function ( grunt ) {
1
+ module . exports = function ( grunt ) {
2
2
3
3
grunt . initConfig ( {
4
4
pkg : grunt . file . readJSON ( 'package.json' ) ,
@@ -10,10 +10,12 @@ module.exports = function(grunt) {
10
10
preserveComments : 'some'
11
11
} ,
12
12
build : {
13
- src : 'Intl.js' ,
14
- dest : 'Intl.min.js'
13
+ files : {
14
+ 'Intl.min.js' : [ 'Intl.js' ]
15
+ }
15
16
}
16
17
}
18
+
17
19
} ) ;
18
20
19
21
grunt . loadNpmTasks ( 'grunt-contrib-jshint' ) ;
Original file line number Diff line number Diff line change @@ -90,3 +90,10 @@ in the [tools](https://github.com/andyearnshaw/Intl.js/tree/master/tools) folder
90
90
91
91
Collation data isn't currently present since the ` Intl.Collator ` implementation isn't
92
92
finished.
93
+
94
+ Contribute
95
+ ----------
96
+
97
+ See the [ CONTRIBUTING file] [ ] for info.
98
+
99
+ [ CONTRIBUTING file ] : https://github.com/andyearnshaw/Intl.js/blob/master/CONTRIBUTING.md
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " Intl.js " ,
2
+ "name" : " intl-polyfill " ,
3
3
"version" : " 0.0.1" ,
4
4
"description" : " polyfill the ECMA-402 Intl API (except collation)" ,
5
5
"main" : " Intl.js" ,
6
6
"directories" : {
7
- "lint" : " jshint Intl.js" ,
8
7
"test" : " tests"
9
8
},
10
9
"devDependencies" : {
16
15
},
17
16
"scripts" : {
18
17
"build" : " grunt" ,
18
+ "lint" : " jshint Intl.js" ,
19
19
"test" : " cd tests && ./run402"
20
20
},
21
21
"repository" : {
You can’t perform that action at this time.
0 commit comments