|
|
@@ -37,7 +37,7 @@ |
|
|
"scripts": { |
|
|
"scripts": { |
|
|
"build": "cp mustache.js mustache.mjs && rollup mustache.mjs --file mustache.js --format umd --name Mustache && uglifyjs mustache.js > mustache.min.js", |
|
|
"build": "cp mustache.js mustache.mjs && rollup mustache.mjs --file mustache.js --format umd --name Mustache && uglifyjs mustache.js > mustache.min.js", |
|
|
"test": "npm run test-lint && npm run test-unit", |
|
|
"test": "npm run test-lint && npm run test-unit", |
|
|
"test-lint": "eslint mustache.js bin/mustache test/**/*.js", |
|
|
|
|
|
|
|
|
"test-lint": "eslint mustache.js bin/mustache test/*.js test/**/*.js", |
|
|
"test-unit": "mocha --reporter spec test/*-test.js", |
|
|
"test-unit": "mocha --reporter spec test/*-test.js", |
|
|
"test-render": "mocha --reporter spec test/render-test", |
|
|
"test-render": "mocha --reporter spec test/render-test", |
|
|
"pre-test-browser": "node test/create-browser-suite.js", |
|
|
"pre-test-browser": "node test/create-browser-suite.js", |
|
|
|