-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
68 lines (68 loc) · 2.51 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
{
"name": "go-patterns",
"version": "3.0.1",
"description": "JavaScript Design Pattern Generator",
"main": "lib/go-patterns.js",
"scripts": {
"precommit": "npm run test",
"clean": "rm -rf dist/ lib/ && mkdir -p lib/ dist/",
"standalone": "./node_modules/browserify/bin/cmd.js index.js -o dist/go-patterns.js -t [ babelify --presets [ es2015 es2016 es2017 ] --plugins [ add-module-exports transform-object-rest-spread transform-object-assign ] ] -s patterns",
"compile": "babel src --out-dir lib --presets=es2015,es2016,es2017 --plugins=add-module-exports,transform-object-rest-spread,transform-object-assign",
"dist": "npm run clean && npm run standalone && npm run compile && npm run uglify",
"uglify": "./node_modules/uglify-js/bin/uglifyjs --compress -o dist/go-patterns.min.js -- dist/go-patterns.js",
"tdd": "karma start",
"test": "npm run lint && SINGLE_RUN=true karma start",
"lint": "./node_modules/.bin/eslint src/** specs/**",
"lintfix": "./node_modules/.bin/eslint src/** specs/** --fix",
"setup": "npm run copyhooks",
"reinstall": "rm -rf node_modules/ && npm install",
"copyhooks": "cp -fr ./build/pre-commit .git/hooks/pre-commit"
},
"repository": {
"type": "git",
"url": "git+https://github.com/pgarciacamou/go-patterns.git"
},
"keywords": [
"design",
"go-patterns",
"pattern",
"patterns",
"generator",
"patternity",
"patternify",
"protopattern",
"patternizer"
],
"author": "Pablo Garcia",
"license": "MIT",
"bugs": {
"url": "https://github.com/pgarciacamou/go-patterns/issues"
},
"homepage": "https://github.com/pgarciacamou/go-patterns#readme",
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-core": "^6.24.1",
"babel-eslint": "^7.2.1",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-transform-object-assign": "^6.22.0",
"babel-plugin-transform-object-rest-spread": "^6.23.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-es2016": "^6.24.1",
"babel-preset-es2017": "^6.24.1",
"babelify": "^7.3.0",
"browserify": "^13.0.1",
"eslint": "^3.18.0",
"eslint-plugin-async": "^0.1.1",
"eslint-plugin-async-await": "0.0.0",
"eslint-plugin-babel": "^4.1.1",
"eslint-plugin-flowtype": "^2.30.4",
"jasmine-core": "^2.4.1",
"karma": "^0.13.22",
"karma-browserify": "^5.0.5",
"karma-jasmine": "^1.0.2",
"karma-phantomjs-launcher": "^1.0.0",
"phantomjs-prebuilt": "^2.1.7",
"uglify-js": "^2.8.21",
"watchify": "^3.7.0"
}
}